summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2b871db4389058af9185d5ad1f4d29e94bca9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Buce <dmbuce@gmail.com>
# Automatically generated by pip2arch on 2011-01-16

pkgname=python2-nbt
pkgver=1.5.0
pkgrel=1
pkgdesc="Named Binary Tag Reader/Writer"
url="http://github.com/twoolie/NBT"
depends=('python2')
makedepends=('python2-distribute')
license=('MIT')
arch=('any')
source=("$pkgname::git+https://github.com/twoolie/NBT.git#tag=version-$pkgver")
md5sums=('SKIP')

package() {
    cd "$srcdir/$pkgname"
    python2 setup.py install --root="$pkgdir" --optimize=1
    install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: set ts=4 sw=4 et: