summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJ5lx2015-12-30 23:41:15 +0100
committerJ5lx2015-12-30 23:41:15 +0100
commit24581f7649f6e7891a67b4c01fd65b7ddc2c5e4a (patch)
tree1446869a8530dd2dce48c009c9e6c6d3c6668e71 /PKGBUILD
downloadaur-24581f7649f6e7891a67b4c01fd65b7ddc2c5e4a.tar.gz
0.9.0-1: Initial package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..022bec112a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgbase=django-rq
+pkgname=('python-django-rq' 'python2-django-rq')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="A simple app that provides django integration for RQ (Redis Queue)"
+arch=('any')
+license=('MIT')
+url="https://github.com/ui/django-rq"
+makedepends=('python' 'python-setuptools' 'python-django' 'python-rq'
+ 'python2' 'python2-setuptools' 'python2-django' 'python2-rq')
+source=("https://github.com/ui/django-rq/archive/v${pkgver}.tar.gz")
+md5sums=('64a19889ae830de823154df5b5302209')
+
+package_python-django-rq() {
+ depends=('python' 'python-django' 'python-rq')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
+
+package_python2-django-rq() {
+ depends=('python2' 'python2-redis' 'python2-rq')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python2 setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}