2 pkgname="python3-$_proj"
4 _tag="${_proj}_${pkgver/./_}"
8 pkgdesc="Rar archive reader for Python"
10 url="https://github.com/$_acc/$_proj"
13 optdepends=("unrar: For decompression")
14 provides=("python-$_proj")
15 source=("https://github.com/$_acc/$_proj/tarball/$_tag")
16 md5sums=(d19464737339a24726038d1d6839773d)
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"