qutebrowser/pkg/PKGBUILD.qutebrowser-git

28 lines
775 B
Plaintext
Raw Normal View History

2014-05-08 22:08:04 +02:00
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
pkgname=qutebrowser-git
pkgver=
pkgrel=1
pkgdesc="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit.",
arch=(any)
url="http://www.qutebrowser.org/"
license=('GPL')
2014-05-08 22:33:24 +02:00
depends=('python' 'python-setuptools' 'python-pyqt5' 'qt5-base' 'qt5-webkit')
2014-05-08 22:08:04 +02:00
makedepends=('python' 'python-setuptools')
optdepends=('python-colorlog: colored logging output')
2014-05-08 22:08:04 +02:00
options=(!emptydirs)
source=('qutebrowser::git://the-compiler.org/qutebrowser')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/qutebrowser"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/qutebrowser"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et: