diff options
author | mar77i | 2016-02-12 10:39:16 +0100 |
---|---|---|
committer | mar77i | 2016-02-12 10:39:16 +0100 |
commit | 2785c6ce22fdbbe5b1aeca62b6ae9cf9fe576535 (patch) | |
tree | 8935e5c20ed2c6c34bd09b603557d0aa915cac02 | |
parent | fdbe1bb02c1d1ee9ba693c7fe89c891b5a3beb95 (diff) | |
download | aur-2785c6ce22fdbbe5b1aeca62b6ae9cf9fe576535.tar.gz |
PKGBUILD: use _basepkg, update maintainer
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,17 +1,18 @@ -# Maintainer: Gary van der Merwe <garyvdm@gmail.com> -pkgname=python-sphinx-paramlinks +# Maintainer: mar77i <mar77i at mar77i dot ch> +_basepkg=sphinx-paramlinks +pkgname="python-$_basepkg" pkgver=0.3.1 pkgrel=1 pkgdesc="Allows param links in Sphinx function/method descriptions to be linkable" arch=(any) -url="https://bitbucket.org/zzzeek/sphinx-paramlinks" +url="https://bitbucket.org/zzzeek/$_basepkg" license=('MIT') depends=('python' 'python-sphinx') -source=(https://pypi.python.org/packages/source/s/sphinx-paramlinks/sphinx-paramlinks-$pkgver.tar.gz) +source=(https://pypi.python.org/packages/source/s/$_basepkg/$_basepkg-$pkgver.tar.gz) sha1sums=(8201182841728c97ba5a401a1214b85988935800) package() { - cd "$srcdir/sphinx-paramlinks-$pkgver" + cd "$srcdir/$_basepkg-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 } |