void-packages/srcpkgs/qutebrowser/template

35 lines
1.1 KiB
Bash
Raw Normal View History

2015-01-18 23:07:31 +01:00
# Template file for 'qutebrowser'
pkgname=qutebrowser
2015-06-28 18:46:35 +02:00
version=0.3.0
revision=1
2015-01-18 23:07:31 +01:00
build_style=python-module
python_versions="3.4"
pycompile_version="3.4"
pycompile_module="${pkgname}"
hostmakedepends="python3.4-setuptools asciidoc"
depends="python3.4-PyQt5-webkit python3.4-Jinja2 python3.4-Pygments python3.4-pyPEG2 python3.4-yaml"
2015-01-18 23:07:31 +01:00
short_desc="A keyboard-focused browser with with a minimal GUI"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-3"
homepage="http://qutebrowser.org/"
distfiles="https://github.com/The-Compiler/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
2015-06-28 18:46:35 +02:00
checksum=01c2cce71813c36a00591a7bd625f4fcf610f91229ce67b712fdf124fde151ec
2015-01-18 23:07:31 +01:00
pre_build() {
a2x -f manpage doc/${pkgname}.1.asciidoc
}
post_install() {
vman doc/${pkgname}.1
vinstall ${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
}