# Template file for 'qutebrowser' pkgname=qutebrowser version=1.4.1 revision=1 noarch=yes build_style=python3-module pycompile_module="$pkgname" hostmakedepends="python3-setuptools asciidoc" depends="python3-setuptools python3-PyQt5-webengine python3-PyQt5-quick python3-Jinja2 python3-Pygments python3-pyPEG2 python3-yaml python3-attrs python3-PyQt5-opengl python3-PyQt5-sql qt5-plugin-sqlite dbus" short_desc="Keyboard-focused browser with a minimal GUI" maintainer="Eivind Uggedal " license="GPL-3.0-or-later" homepage="https://qutebrowser.org/" changelog="https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/changelog.asciidoc" distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=a3f2de0e1178d9c00abd96dcc6fb5ef9a52cc2a99aa7da2073f785b4b6485f58 pre_build() { a2x -f manpage doc/${pkgname}.1.asciidoc } post_install() { vman doc/${pkgname}.1 vinstall misc/${pkgname}.desktop 644 usr/share/applications local dim for dim in 16 24 32 48 64 96 128 256 512; do vinstall icons/${pkgname}-${dim}x${dim}.png 644 \ usr/share/icons/hicolor/${dim}x${dim}/apps ${pkgname}.png done vinstall icons/${pkgname}.svg 644 \ usr/share/icons/hicolor/scalable/apps ${pkgname}.png }