# Maintainer: Eli Schwartz # All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds _pkgname=FanFicFare pkgname=fanficfare pkgver=2.26.0 pkgrel=1 pkgdesc="A tool for downloading fanfiction to eBook formats" arch=('any') url="https://github.com/JimmXinu/${_pkgname}" license=('Apache') changelog=changelog.txt depends=('python2' 'python2-beautifulsoup4' 'python2-chardet' 'python2-html5lib' 'python2-html2text') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('39135ae9319c560c9da047a55e9d0cadf7db3fbc0444bf3360b6cfdf412f5abd') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build }