void-packages/srcpkgs/uzbl/template
2016-10-17 10:19:51 +02:00

30 lines
859 B
Bash

# Template file for 'uzbl'
pkgname=uzbl
version=0.9.0
revision=2
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=931cf0bd91ebf140ddb0659d8ee547826bfa5d8235b618552eb5b951cc865347
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
}