updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python3-rarfile / PKGBUILD
blob19258ecd5ce1e850819db4438583af7c6ac6dc53
1 _proj=rarfile
2 pkgname="python3-$_proj"
3 pkgver=2.5
4 pkgrel=1
5 pkgdesc="Rar archive reader for Python"
6 arch=(any)
7 url="https://pypi.python.org/pypi/$_proj"
8 license=(custom:ISC)
9 depends=()
10 optdepends=("unrar: For decompression")
11 provides=("python-$_proj")
12 source=(
13   "https://pypi.python.org/packages/source/r/$_proj/$_proj-$pkgver.tar.gz"
15 md5sums=(da87eb870c9e504394b91c9618ff74c6)
17 package() {
18   cd "$srcdir/$_proj-$pkgver"
19   python3 setup.py install --root="$pkgdir" --optimize=1
20   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"