summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJeremy Asuncion2016-12-17 08:48:10 -0800
committerJeremy Asuncion2016-12-17 08:48:10 -0800
commit0ee9fcd4084a37bcb2b151cddc52cff2028118e8 (patch)
tree88d60643d1d05b7492c07e77edebae7ff640a67c /PKGBUILD
downloadaur-0ee9fcd4084a37bcb2b151cddc52cff2028118e8.tar.gz
Renamed directories to correct naming scheme
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25011d7a65f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# vim: set ft=sh ts=4 sw=4 sts=4 et:
+# Maintainer: Jeremy Asuncion <jeremyasuncion808@gmail.com>
+
+_name=click-completion
+pkgname=python-click-completion
+pkgver=0.2.1
+pkgrel=1
+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")
+md5sums=(68b1261ab229145dc5d0ec685d137aad)
+
+build() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install -O1 --skip-build --prefix=/usr --root="${pkgdir}"
+}