aboutsummaryrefslogtreecommitdiffstats
path: root/community/qutebrowser/APKBUILD
blob: 8d2d4b26abda85f6221f81f4fe7f420463479c9f (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
33
34
35
36
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=qutebrowser
pkgver=1.11.0
pkgrel=0
pkgdesc="A keyboard-driven, vim-like browser based on PyQT5"
url="https://qutebrowser.org/"
arch="noarch !s390x !ppc64le !armhf !mips !mips64" # Blocked on mips, s390x and ppc64le by qt5-qtwebengine, on armhf by py3-qt5 -> qt5-qtdeclarative-dev
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
"
options="!check" # https://github.com/qutebrowser/qutebrowser/issues/5081

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

check() {
	pytest-3
}

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

sha512sums="df237fe8a562ae4546360bd309b93508113d5585d3b3d3d3b4c7dbe785c5d605cdd090c378db17e2f040855477da60a85771d0c78838bfae70ba0a78567715d9  qutebrowser-1.11.0.tar.gz"