2017-04-16 22:04:31 -04:00
|
|
|
# Maintainer: Ben Ruijl <benruyl@gmail.com>
|
|
|
|
|
|
|
|
pkgname=python2-sabyenc
|
|
|
|
pkgver=3.0.2
|
2017-07-01 12:45:39 -04:00
|
|
|
pkgrel=3
|
2017-04-16 22:04:31 -04:00
|
|
|
pkgdesc="Python2 yEnc package optimized for use within SABnzbd"
|
|
|
|
url="https://github.com/sabnzbd/sabyenc"
|
2017-07-01 12:45:39 -04:00
|
|
|
arch=('i686' 'x86_64' 'armv7h')
|
2017-04-16 22:04:31 -04:00
|
|
|
license=("GPL")
|
|
|
|
depends=("python2")
|
|
|
|
makedepends=("python2-setuptools")
|
|
|
|
|
|
|
|
source=("https://github.com/sabnzbd/sabyenc/archive/v${pkgver}.tar.gz")
|
|
|
|
md5sums=('49684574e411ee36cc96e8b70aa99ad9')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/sabyenc-${pkgver}"
|
|
|
|
python2 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/sabyenc-${pkgver}"
|
|
|
|
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
|
|
}
|