812a0fdd41
Conflicts: .flake8 pkg/PKGBUILD.qutebrowser-git qutebrowser/browser/commands.py qutebrowser/browser/hints.py qutebrowser/config/configdata.py qutebrowser/network/qutescheme.py qutebrowser/test/config/test_configtypes.py qutebrowser/utils/utils.py
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
|
|
# vim: set ts=2 sw=2 et:
|
|
|
|
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')
|
|
depends=('python>=3.4' 'python-setuptools' 'python-pyqt5>=5.2' 'qt5-base>=5.2'
|
|
'qt5-webkit>=5.2' 'libxkbcommon-x11' 'python-pypeg2' 'python-jinja'
|
|
'python-pygments')
|
|
makedepends=('python' 'python-setuptools' 'asciidoc')
|
|
optdepends=('python-colorlog: colored logging output')
|
|
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 scripts/asciidoc2html.py
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
|
a2x -f manpage doc/qutebrowser.1.asciidoc
|
|
install -Dm644 doc/qutebrowser.1 "$pkgdir/usr/share/man/man1/qutebrowser.1"
|
|
}
|