summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorÓscar García Amor2018-10-25 10:11:59 +0200
committerÓscar García Amor2018-10-25 10:11:59 +0200
commit0ce4e5321786842c7df4129e358b56c2a47cb5ce (patch)
treeb274c3d0025808707ad9caf1d271094ce817e576 /PKGBUILD
downloadaur-0ce4e5321786842c7df4129e358b56c2a47cb5ce.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..742048d84ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Oscar Garcia Amor <ogarcia@connectical.com>
+
+_pkgname=py-trello
+pkgbase=python-py-trello
+pkgname=('python-py-trello' 'python2-py-trello')
+pkgver=0.13.0
+pkgrel=1
+pkgdesc='Python API wrapper around Trello API'
+arch=('any')
+url='https://github.com/sarumont/py-trello'
+license=('BSD')
+#makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/sarumont/py-trello/archive/${pkgver}.tar.gz")
+sha256sums=('3f3ce1949e736995b408e55b266c7135dc4286439db17e38c37dc38aaf30ce93')
+
+package_python-py-trello() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize='1'
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ cp LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
+package_python2-py-trello() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ cp LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
+}