Add Archlinux PKGBUILD
This commit is contained in:
parent
2d6fb3d243
commit
f09f555b68
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,3 +3,6 @@ __pycache__
|
||||
/build
|
||||
/dist
|
||||
/qutebrowser.egg-info
|
||||
/pkg/pkg
|
||||
/pkg/qutebrowser
|
||||
/pkg/src
|
||||
|
26
pkg/PKGBUILD.qutebrowser-git
Normal file
26
pkg/PKGBUILD.qutebrowser-git
Normal file
@ -0,0 +1,26 @@
|
||||
# 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')
|
||||
depends=('python' 'python-setuptools' 'python-appdirs' 'python-pyqt5' 'qt5-base' 'qt5-webkit')
|
||||
makedepends=('python' 'python-setuptools')
|
||||
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:
|
Loading…
Reference in New Issue
Block a user