diff options
author | mschubert | 2017-04-22 20:42:23 +0100 |
---|---|---|
committer | mschubert | 2017-04-22 20:42:23 +0100 |
commit | aead7d4df852832c048fa882ee78f2f06464428f (patch) | |
tree | f4295a4af5fa2d2fb0d31c03baf4a056ddcda8be | |
parent | 7baeca213798c92e1d9feafe6e75872b48f4d96e (diff) | |
download | aur-aead7d4df852832c048fa882ee78f2f06464428f.tar.gz |
install libllvmlite.so manually
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Apr 22 18:42:02 UTC 2017 +# Sat Apr 22 19:42:07 UTC 2017 pkgbase = python-llvmlite pkgdesc = Lightweight LLVM python binding for writing JIT compilers pkgver = 0.17.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/numba/llvmlite arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Michael Schubert <mschu.dev at gmail> pkgname=python-llvmlite pkgver=0.17.1 -pkgrel=1 +pkgrel=2 pkgdesc="Lightweight LLVM python binding for writing JIT compilers" url="https://github.com/numba/llvmlite" arch=('i686' 'x86_64') @@ -19,4 +19,9 @@ build() { package() { cd "$srcdir/llvmlite-$pkgver" python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + pydir=$(python -c "from distutils.sysconfig import get_python_lib; \ + print(get_python_lib())") + install -m755 "$srcdir"/llvmlite-$pkgver/ffi/libllvmlite.so \ + "$pkgdir/$pydir"/llvmlite/binding } |