diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 15 insertions, 15 deletions
@@ -1,16 +1,16 @@ pkgbase = fanficfare-git pkgdesc = A tool for downloading fanfiction to eBook formats - pkgver = 2.28.0.r0.g1194be86 - pkgrel = 1 + pkgver = 2.28.0.r167.g09fd06cd + pkgrel = 2 url = https://github.com/JimmXinu/FanFicFare arch = any license = Apache makedepends = git - depends = python2 - depends = python2-beautifulsoup4 - depends = python2-chardet - depends = python2-html5lib - depends = python2-html2text + depends = python + depends = python-beautifulsoup4 + depends = python-chardet + depends = python-html5lib + depends = python-html2text provides = fanficfare conflicts = fanficfare source = git+https://github.com/JimmXinu/FanFicFare.git @@ -4,14 +4,14 @@ _pkgname=FanFicFare pkgname=fanficfare-git -pkgver=2.28.0.r0.g1194be86 -pkgrel=1 +pkgver=2.28.0.r167.g09fd06cd +pkgrel=2 pkgdesc="A tool for downloading fanfiction to eBook formats" arch=('any') url="https://github.com/JimmXinu/${_pkgname}" license=('Apache') -depends=('python2' 'python2-beautifulsoup4' 'python2-chardet' 'python2-html5lib' - 'python2-html2text') +depends=('python' 'python-beautifulsoup4' 'python-chardet' 'python-html5lib' + 'python-html2text') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") @@ -25,16 +25,16 @@ pkgver() { build() { cd "${srcdir}/${_pkgname}" - python2 setup.py build + python setup.py build - if [[ -x /usr/bin/calibre-customize ]]; then + if command -v calibre-customize > /dev/null; then msg2 "Creating and installing FanFicFare calibre plugin..." - python2 makeplugin.py + python makeplugin.py calibre-customize -a FanFicFare.zip || true fi } package() { cd "${srcdir}/${_pkgname}" - python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |