summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilipp A2019-03-07 10:32:30 +0100
committerPhilipp A2019-03-07 10:32:30 +0100
commita3417779d346e4983791fdd3f15b24d4e4d57355 (patch)
treec7563247928639392d18987b9a7aa191289520d5 /PKGBUILD
parent6512459b0106447abf03dded876033321f530534 (diff)
downloadaur-python-apgl.tar.gz
unified _name
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6a550d7026e..b02b805ff7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,18 @@
# Maintainer: Phil Schaf <flying-sheep@web.de>
-pkgname=python-apgl
+_name=apgl
+pkgname=python-$_name
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='A simple, fast and easy to use Python graph library using NumPy, Scipy and PySparse'
arch=('any')
url='https://github.com/charanpald/APGL'
license=('LGPL')
depends=('python' 'python-numpy' 'python-scipy')
-source=("https://pypi.python.org/packages/source/a/apgl/apgl-$pkgver.tar.gz")
+source=("https://pypi.python.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
md5sums=('9cc189a76d3a5558189ae9b38573ed4b')
package() {
cd "$srcdir/apgl-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
-} \ No newline at end of file
+}