# Maintainer: Alex Brinister pkgbase=python-sabctools pkgname='python-sabctools' _name=sabctools pkgver=7.0.1 pkgrel=1 pkgdesc="implements three main sets of C implementations that are used within SABnzbd" arch=('any') url="https://github.com/sabnzbd/sabctools/" license=(GPL2) depends=('python') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") sha512sums=('5c6b883a3f7c851355298f0cc65b412b97a35d5335c5a3db783e82d8eb8e77ca89c4c3e861edee66051e9f960829dcf9986324750e0bd3632c4f14383b371eb3') package() { cd "${srcdir}/${_name}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }