From dc7d72dc6323e8c2284cc900abba6696879e1a29 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 28 Feb 2016 18:53:32 +0100 Subject: [PATCH] New package: uzbl-0.9.0 Closes #2399 --- srcpkgs/uzbl/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/uzbl/template diff --git a/srcpkgs/uzbl/template b/srcpkgs/uzbl/template new file mode 100644 index 00000000000..20214b0a851 --- /dev/null +++ b/srcpkgs/uzbl/template @@ -0,0 +1,29 @@ +# Template file for 'uzbl' +pkgname=uzbl +version=0.9.0 +revision=1 +hostmakedepends="pkg-config python3.4-setuptools" +makedepends="libsoup-devel webkitgtk-devel glib-devel" +depends="python3.4-six" +short_desc="Web interface tools which adhere to the unix philosophy" +maintainer="Michael Gehring " +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 +}