qutebrowser: update to 1.6.2.

This commit is contained in:
Daniel Eyßer 2019-05-07 10:41:43 +02:00 committed by Enno Boland
parent 698530cc63
commit 06194c97f2

View file

@ -1,40 +1,40 @@
# Template file for 'qutebrowser'
pkgname=qutebrowser
version=1.6.1
version=1.6.2
revision=1
archs=noarch
build_style=python3-module
pycompile_module="$pkgname"
pycompile_module="qutebrowser"
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"
depends="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"
short_desc="Keyboard-focused browser with a minimal GUI"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
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=178421f121d72344dc9640018f6b6c747d7f1e6875932b6e12ef4941d37593e9
distfiles="https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/qutebrowser-${version}.tar.gz"
checksum=e1f135f1ae2029557e8dab135a06e2cfae36ce624fae7b9af097c277f1cdfcfb
pre_build() {
a2x -f manpage doc/${pkgname}.1.asciidoc
a2x -f manpage doc/qutebrowser.1.asciidoc
}
post_install() {
vman doc/${pkgname}.1
vinstall misc/${pkgname}.desktop 644 usr/share/applications
vman doc/qutebrowser.1
vinstall misc/qutebrowser.desktop 644 usr/share/applications
vmkdir usr/share/qutebrowser/
vcopy misc/userscripts usr/share/qutebrowser/
vcopy scripts usr/share/qutebrowser/
vmkdir usr/share/qutebrowser
vcopy misc/userscripts usr/share/qutebrowser
vcopy scripts usr/share/qutebrowser
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
vinstall icons/qutebrowser-${dim}x${dim}.png 644 \
usr/share/icons/hicolor/${dim}x${dim}/apps qutebrowser.png
done
vinstall icons/${pkgname}.svg 644 \
usr/share/icons/hicolor/scalable/apps ${pkgname}.png
vinstall icons/qutebrowser.svg 644 \
usr/share/icons/hicolor/scalable/apps qutebrowser.svg
}