updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / python3-rarfile / PKGBUILD
blob029b5a467528e9ec682c6326acb99c8b1194f4df
1 _proj=rarfile
2 pkgname="python3-$_proj"
3 pkgver=2.4
4 _tag="${_proj}_${pkgver/./_}"
5 _acc=markokr
6 _rev=201b9fe
7 pkgrel=1
8 pkgdesc="Rar archive reader for Python"
9 arch=(any)
10 url="https://github.com/$_acc/$_proj"
11 license=(custom:ISC)
12 depends=()
13 optdepends=("unrar: For decompression")
14 provides=("python-$_proj")
15 source=("https://github.com/$_acc/$_proj/tarball/$_tag")
16 md5sums=(d19464737339a24726038d1d6839773d)
18 package() {
19   cd "$srcdir/$_acc-$_proj-$_rev"
20   python3 setup.py install --root="$pkgdir" --optimize=1
21   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"