void-packages/srcpkgs/uzbl/template

31 lines
859 B
Bash

# Template file for 'uzbl'
pkgname=uzbl
version=0.9.1
revision=1
pycompile_module="uzbl"
hostmakedepends="pkg-config python3-setuptools"
makedepends="libsoup-devel webkitgtk-devel glib-devel"
depends="python3-six"
short_desc="Web interface tools which adhere to the unix philosophy"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-3"
homepage="http://www.uzbl.org/"
distfiles="https://github.com/uzbl/uzbl/archive/v${version}.tar.gz"
checksum=e01c3220378b1d539567d5287f8fea7466f7817873858917d22d72bccad63e2c
post_extract() {
sed -i "s/tarball_check=''/tarball_check='notempty'/" misc/hash.sh
}
do_build() {
make PREFIX=/usr ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}
post_install() {
sed -i "s!/etc/ssl/certs/ca-bundle.crt!/etc/ssl/certs/ca-certificates.crt!" ${DESTDIR}/usr/share/uzbl/examples/config/config
}