40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'uzbl'
|
|
pkgname=uzbl
|
|
version=0.9.1
|
|
revision=4
|
|
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="Daniel Santana <daniel@santana.tech>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://www.uzbl.org/"
|
|
distfiles="https://github.com/uzbl/uzbl/archive/v${version}.tar.gz"
|
|
checksum=9721873db3fd859707f703a101b4f2d0538f92e9678f8ad437a7203078f9abbe
|
|
|
|
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
|
|
}
|
|
}
|