author | Sven-Hendrik Haase
<svenstaro@archlinux.org> 2018-09-26 19:04:25 UTC |
committer | Sven-Hendrik Haase
<svenstaro@archlinux.org> 2018-09-26 19:04:25 UTC |
parent | bb130a4dcb57dbe9736b445989c2bf969c78461d |
PKGBUILD | +5 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 8d490a5..646e6ce 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,15 +4,15 @@ pkgbase=python-click pkgname=("python-click" "python2-click") _realname=click -pkgver=6.7 -pkgrel=2 +pkgver=7.0 +pkgrel=1 pkgdesc="A simple wrapper around optparse for powerful command line utilities" arch=("any") url="http://click.pocoo.org/" license=("BSD") makedepends=("python-setuptools" "python2-setuptools") source=("https://github.com/pallets/click/archive/${pkgver}.tar.gz") -sha512sums=('0d582ec4ecf8e4cf9ce2b9eec9d150e047512e1ebdb709eb031599c8e4a9632121dbb809bc1cfe597dd0ba62a9b8a5663c6dfbe41d575a991d27bca6b26130db') +sha512sums=('7ed2bf677f4a56f120deb61318675679a8f09c152af618e8808d24a20cc8537b0691c18b0de2e25b814c59e34b47d6f4d71191856422fc3be206de7669d78f3a') prepare() { cp -a $_realname-$pkgver{,-python2} @@ -30,12 +30,12 @@ package_python-click() { depends=("python") cd "${srcdir}/${_realname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --optimize=1 - install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "LICENSE.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" } package_python2-click() { depends=("python2") cd "${srcdir}/${_realname}-${pkgver}-python2" python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 - install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "LICENSE.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" }