summaryrefslogtreecommitdiff
path: root/pcr/django-tagging/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/django-tagging/PKGBUILD')
-rw-r--r--pcr/django-tagging/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/pcr/django-tagging/PKGBUILD b/pcr/django-tagging/PKGBUILD
index 1ed13533e..915c8f6b1 100644
--- a/pcr/django-tagging/PKGBUILD
+++ b/pcr/django-tagging/PKGBUILD
@@ -1,20 +1,27 @@
-# Contributor (Arch): Ryan Coyner <rcoyner@gmail.com>
-# Contributor (Arch): James Pearson <james.m.pearson+arch@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io>
+# Maintainer : Aurélien Desbrières <aurelien@hackers.camp>
+# Contributor: Andrey Mivrenik <gim at fastmail dot fm>
+# Contributor: Ryan Coyner <rcoyner@gmail.com>
+# Contributor: James Pearson <james.m.pearson+arch@gmail.com>
pkgname=django-tagging
pkgver=0.3.1
-pkgrel=2
+pkgrel=4
pkgdesc="A generic tagging application for Django projects"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://code.google.com/p/django-tagging/"
+arch=('any')
+url='http://code.google.com/p/django-tagging/'
license=('MIT')
depends=('python2')
-source=(http://django-tagging.googlecode.com/files/django-tagging-$pkgver.tar.gz)
+makedepends=('python2-setuptools')
+changelog='CHANGELOG.txt'
+source=("https://django-tagging.googlecode.com/files/django-tagging-${pkgver}.tar.gz")
build() {
- cd $srcdir/django-tagging-$pkgver
- python2 setup.py build || return 1
- python2 setup.py install --root=$pkgdir || return 1
- install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ cd "$srcdir/django-tagging-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/django-tagging-$pkgver"
+ python2 setup.py install --root=$pkgdir --optimize=1
+ install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}