summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 23 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9cc7bf165f3..e793d0828a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,31 @@
-# Maintainer: Maikel Wever <maikelwever@gmail.com>
+# Maintainer: Groctel <aur@taxorubio.com>
+
+_name=Pyrr
+
pkgname=python-pyrr
pkgver=0.10.3
pkgrel=1
pkgdesc="Provides 3D mathematical functions using the power of NumPy."
-url="https://github.com/adamlwgriffiths/Pyrr"
+
+arch=('any')
license=('BSD')
-depends=('python' 'python-numpy' 'python-multipledispatch')
-makedepends=('python-setuptools')
+url="https://github.com/adamlwgriffiths/Pyrr"
+
source=("https://github.com/adamlwgriffiths/Pyrr/archive/${pkgver}.tar.gz")
-md5sums=('3e2c2ff64fdfc1f38980a7afe72128ad')
-arch=('any')
+sha512sums=('f3f045604e28f4a944ea0528363c233a75413a6039bd11b90eeeafadcaaf0ef44bc1303581f2e78adcfb9a365f719be64a24adf1cec8c5ef1abf5642dea58df4')
-package() {
- cd "$srcdir/Pyrr-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
- mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
- cp LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt
-}
+depends=(
+ 'python'
+ 'python-numpy'
+ # AUR dependencies
+ 'python-multipledispatch'
+)
+makedepends=('python-setuptools')
-# vim:set ts=2 sw=2 et:
+package ()
+{
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
+ cp LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt
+}