# Maintainer: fenuks # Previous maintainer: Ben Oliver pkgname=bukuserver pkgver=4.7 pkgrel=1 pkgdesc="Powerful command-line bookmark manager. CLI and server." arch=('any') depends=('python' 'python-flask-reverse-proxy-fix' 'python-beautifulsoup4' 'python-cryptography' 'python-urllib3' 'python-certifi' 'python-html5lib' 'python-appdirs' 'python-arrow' 'python-cffi' 'python-click' 'python-flask-admin' 'python-flask-api' 'python-flask-bootstrap' 'python-flask-paginate' 'python-flask-wtf' 'python-idna' 'python-itsdangerous' 'python-jinja' 'python-markupsafe' 'python-packaging' 'python-pyasn1' 'python-pycparser' 'python-requests' 'python-six' 'python-werkzeug') makedepends=('make') conflicts=('buku') provides=('buku') url="https://github.com/jarun/Buku" license=('GPL3') source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/jarun/Buku/tar.gz/v$pkgver) sha256sums=('11d0860e66e0eea6c2ce566962ae0f8e34c76dc2317d108a4ae4e5a47097d468') package() { cd "$srcdir/buku-$pkgver" python setup.py install --root="${pkgdir}" --prefix=/usr install -Dm644 auto-completion/fish/buku.fish "${pkgdir}/usr/share/fish/vendor_completions.d/buku.fish" install -Dm644 auto-completion/bash/buku-completion.bash "${pkgdir}/etc/bash_completion.d/buku" install -Dm644 auto-completion/zsh/_buku "${pkgdir}/usr/share/zsh/site-functions/_buku" gzip -f buku.1 install -Dm644 buku.1.gz "${pkgdir}/usr/share/man/man1/buku.1.gz" }