blob: a383392466db9bc4c78f7c28ae026de262443a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Cyrinux <pkgbuilds AT levis DOT name>
_pkgbase=python-qutescript
pkgbase=python-qutescript
pkgname=(python-qutescript-git)
pkgver=r34.5115bc8
pkgrel=1
pkgdesc="Painless userscripts for qutebrowser"
url="https://github.com/hiway/python-qutescript"
arch=(x86_64)
license=(BSD)
makedepends=(git python-setuptools)
source=("git+https://github.com/hiway/python-qutescript.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgbase
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgbase
python3 setup.py build
}
package_python-qutescript-git() {
provides=("python-qutescript=$pkgver")
conflicts=("python-qutescript")
cd $_pkgbase
python3 setup.py install --prefix="/usr/" --root="$pkgdir"
}
|