Skip to content

Instantly share code, notes, and snippets.

@davidovitch davidovitch/PKGBUILD
Last active Dec 24, 2015

Embed
What would you like to do?
Arch Linux PKGBUILD for python2-llvmmath-git
# Maintainer: Augusto F Hack <hack.augusto@gmail.com>
pkgname=python2-llvmmath-git
_gitname=llvmmath
pkgver=129.37f1c2e
pkgrel=1
pkgdesc="LLVM math library - The purpose of this project is to provide portable math functions, many of which are in C99 and not available on all platforms. It is based on NumPy's umath and tries to support all floating point and complex types."
arch=('i686' 'x86_64')
url="http://github.com/ContinuumIO/llvmmath.git"
license=('BSD')
depends=('python2' 'python2-llvmpy-git')
makedepends=('git')
source="git://github.com/ContinuumIO/llvmmath.git"
md5sums=('SKIP')
pkgver() {
cd $_gitname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "$srcdir/$_gitname"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.