40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'uzbl'
|
|
pkgname=uzbl
|
|
version=0.9.1
|
|
revision=2
|
|
pycompile_module="uzbl"
|
|
hostmakedepends="pkg-config python3-setuptools"
|
|
makedepends="libsoup-devel webkitgtk-devel glib-devel"
|
|
depends="python3-setuptools python3-six"
|
|
short_desc="Web interface tools which adhere to the unix philosophy"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="http://www.uzbl.org/"
|
|
distfiles="https://github.com/uzbl/uzbl/archive/v${version}.tar.gz"
|
|
checksum=b5d6a0ffa602839f338af80b286c3550b85e68dd2412ccad3fea896ad2501ae9
|
|
|
|
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
|
|
}
|
|
|
|
uzbl-tabbed_package() {
|
|
replaces="uzbl<0.9.1_2"
|
|
short_desc="Tabbed interface to Uzbl"
|
|
depends="uzbl-${version}_${revision} pygtk"
|
|
pkg_install() {
|
|
vmove usr/bin/uzbl-tabbed
|
|
vmove usr/share/applications/uzbl-tabbed.desktop
|
|
}
|
|
}
|