Skip to content

Instantly share code, notes, and snippets.

@davidovitch
Last active December 24, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidovitch/6768204 to your computer and use it in GitHub Desktop.
Save davidovitch/6768204 to your computer and use it in GitHub Desktop.
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