blob: ea1e63313264067b2c535eeb5aa96593451e4be7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
pkgbase=python-sabctools
pkgname='python-sabctools'
_name=sabctools
pkgver=8.2.5
pkgrel=1
pkgdesc="implements three main sets of C implementations that are used within SABnzbd"
arch=('any')
url="https://github.com/sabnzbd/sabctools/"
license=(GPL-2.0-only)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha512sums=('f74bca401d5599a521825a3c5413fba370f1750eff72bf297e0276d403f9612548fbf9dfd72a9747a5d208f19d680ca6c5db1c5c15063c85d285ae897b14cfaf')
package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|