diff options
author | Aurelien Desbrieres <aurelien@hackers.camp> | 2015-03-07 14:07:44 +0100 |
---|---|---|
committer | Aurelien Desbrieres <aurelien@hackers.camp> | 2015-03-07 14:07:44 +0100 |
commit | a808ef7eb15127b7124b4ef3853845361993ec27 (patch) | |
tree | 34d5b3425c3cf615f03ee02eb3f922d127439c4a /pcr/django-tagging/PKGBUILD | |
parent | ed7658add247c2ce3aae24cda9579c1ff43b9e59 (diff) |
django-tagging A generic tagging application for Django projects
Diffstat (limited to 'pcr/django-tagging/PKGBUILD')
-rw-r--r-- | pcr/django-tagging/PKGBUILD | 29 |
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 } |