From a808ef7eb15127b7124b4ef3853845361993ec27 Mon Sep 17 00:00:00 2001 From: Aurelien Desbrieres Date: Sat, 7 Mar 2015 14:07:44 +0100 Subject: django-tagging A generic tagging application for Django projects --- pcr/django-tagging/PKGBUILD | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'pcr/django-tagging/PKGBUILD') 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 -# Contributor (Arch): James Pearson -# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières +# Maintainer : Aurélien Desbrières +# Contributor: Andrey Mivrenik +# Contributor: Ryan Coyner +# Contributor: James Pearson 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 } -- cgit v1.2.3