updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / python-grizzled / PKGBUILD
blobc15858009f7089b039771d22b9f59886fb65554c
1 # Maintainer: Marat Akhin <Marat.Akhin@gmail.com>
3 pkgname=python-grizzled
4 pkgver=0.9.4
5 pkgrel=2
6 arch=('i686' 'x86_64')
7 license=('BSD')
8 pkgdesc="General-purpose Python utility library"
9 url="http://bmc.github.com/grizzled/"
10 depends=('python2' 'python2-distribute')
11 source=("https://github.com/bmc/grizzled/tarball/release-$pkgver")
12 md5sums=('1fcfc311a2fb0ea71bc4c6cce583e82e')
14 build() {
15   mv $srcdir/bmc-grizzled-* $srcdir/$pkgname-$pkgver
17   cd $srcdir/$pkgname-$pkgver
18   python2 setup.py install --root=$pkgdir
19   
20   # Install the BSD license
21   install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
22   install -m644 "$srcdir/$pkgname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname"