diff options
author | Pierre-Marie de Rodat | 2018-06-27 19:35:39 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat | 2018-06-27 19:35:39 +0200 |
commit | a8dfdfccf05a4f7d82fdf7abb96b45f767c818a0 (patch) | |
tree | ded6ed74874913ec5c25a9bc43e7fd2ccb7a5af0 | |
parent | 8bd056bcb4d366344c0534f47080ee9ad08892b0 (diff) | |
download | aur-a8dfdfccf05a4f7d82fdf7abb96b45f767c818a0.tar.gz |
Use the setup.py script to install the Python binding
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -65,8 +65,6 @@ package() install "$pkgdir/usr" # Install the Python binding - site_packages="$pkgdir/usr/lib/python2.7/site-packages" - mkdir -p "$site_packages" - install -m644 build/python/libadalang.py "$site_packages" - rm -rf "$pkgdir/usr/python" + cd build/python + python2 setup.py install --root="$pkgdir" } |