summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorUniversebenzene2019-01-09 22:29:55 +0800
committerUniversebenzene2019-01-09 22:29:55 +0800
commit087c79f51c0f419e822fbb57a5d7cfbaecbce06e (patch)
treead1c6cf03e022c6f043da17eac8fc8f7183b6d1d /PKGBUILD
parentf37dce2c459f201be1ffbd6943ea7019eabf3e6c (diff)
downloadaur-087c79f51c0f419e822fbb57a5d7cfbaecbce06e.tar.gz
Update to version 0.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5aabde25550..5c0b9641c05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
# Contributor: Chris Severance aur.severach AatT spamgourmet.com
pkgname=python-sphinx-automodapi
-pkgver=0.9
+_pyname=${pkgname#python-}
+pkgver=0.10
pkgrel=1
pkgdesc="Sphinx extension for generating API documentation."
arch=('any')
@@ -10,11 +11,11 @@ url="https://sphinx-automodapi.readthedocs.io/en/latest/"
license=('BSD')
depends=('python-sphinx>=1.6')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/s/sphinx-automodapi/sphinx-automodapi-${pkgver}.tar.gz")
-sha256sums=('71a69e1a7ab8d849f416d7431db854d7b1925f749ba6345bc7d88f288892871d')
+source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+sha256sums=('5c989bfe37f555f635e8fbb650859df391556981f5a436507fb3241794fd26c6')
package() {
- cd ${srcdir}/sphinx-automodapi-${pkgver}
+ cd ${srcdir}/${_pyname}-${pkgver}
install -D -m644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"