summaryrefslogtreecommitdiff
path: root/pcr/django-tagging/PKGBUILD
blob: 915c8f6b1e158d30e90fa9eb4a4260a99a05a9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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=4
pkgdesc="A generic tagging application for Django projects"
arch=('any')
url='http://code.google.com/p/django-tagging/'
license=('MIT')
depends=('python2')
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
}

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
}