Build manpage in PKGBUILD

This commit is contained in:
Florian Bruhin 2014-09-12 18:50:42 +02:00
parent 3d1830ec13
commit 31334e6df3

View File

@ -10,7 +10,7 @@ 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')
makedepends=('python' 'python-setuptools')
makedepends=('python' 'python-setuptools' 'asciidoc')
optdepends=('python-colorlog: colored logging output')
options=(!emptydirs)
source=('qutebrowser::git://the-compiler.org/qutebrowser')
@ -24,4 +24,6 @@ pkgver() {
package() {
cd "$srcdir/qutebrowser"
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"
}