summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index faabdafbc24..5c7857a023d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
-# Maintainer: Jeremy Asuncion <jeremyasuncion808@gmail.com>
-
-_name='click-completion'
+# Maintainer: Kyle Laker <kyle+aur at laker dot email>
+# Contributor: Jeremy Asuncion <jeremyasuncion808@gmail.com>
pkgname='python-click-completion'
-pkgver='0.3.1'
-pkgrel=1
+_name="${pkgname#python-}"
+pkgver='0.5.1'
+pkgrel=2
pkgdesc='Fish, Bash, Zsh, and PowerShell completion for Click.'
arch=('any')
url='https://github.com/click-contrib/click-completion'
license=('MIT')
depends=('python' 'python-click' 'python-jinja')
makedepends=('python-setuptools')
-source=("https://github.com/click-contrib/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('b0cb90fd98cb6a374f619a1c7cc72c5655f2557a78980fd15b6813d888bb656b28a75384bb094cbc570c727c5477713b7cb689de5d523bb8c56ea79dd939f75a')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('78072eecd5e25ea0d25ceaf99cd5f22aa2667d67231ae0819deab9b1ff3456fb')
build() {
cd "${srcdir}/${_name}-${pkgver}"
@@ -20,5 +20,5 @@ build() {
package() {
cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install -O1 --skip-build --prefix=/usr --root="${pkgdir}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}