aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qutebrowser/APKBUILD
blob: 89fed90c42856fe38e59d41b1c178599730bd640 (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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=qutebrowser
pkgver=1.6.2
pkgrel=1
pkgdesc="A keyboard-driven, vim-like browser based on PyQT5"
url="https://qutebrowser.org/"
arch="noarch !s390x !ppc64le !x86" # limited by qt5-qtwebengine
license="GPL-3.0-only"
depends="
	py3-attrs py3-jinja2 py3-pygments py3-pypeg2 py3-qt5 py3-yaml qt5-qtbase
	qt5-qtwebengine qt5-qtbase-sqlite py3-qtwebengine py3-setuptools py3-sip-pyqt5
"
makedepends="asciidoc"
checkdepends="py3-pytest py3-hypothesis"
subpackages="$pkgname-doc"
source="
	https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz
"

build() {
	a2x -f manpage doc/qutebrowser.1.asciidoc
	python3 setup.py build
}

package() {
	make -f misc/Makefile DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="708fe9c5db54fdab0697e03ce26d901ee18da2a04d3934c0705f9cdff543e859892de2ac9aa9e3b0b12c4a3d6be7a492d34a868058e4a6b21f06d4343caff89a  qutebrowser-1.6.2.tar.gz"