2013-11-05 16:02:28 +00:00
|
|
|
# Template file for 'xombrero'
|
|
|
|
pkgname=xombrero
|
2015-02-18 08:13:28 +00:00
|
|
|
version=1.6.4
|
|
|
|
revision=1
|
2013-11-05 16:02:28 +00:00
|
|
|
hostmakedepends="pkg-config perl groff"
|
|
|
|
makedepends="libbsd-devel gtk+3-devel gnutls-devel webkitgtk-devel desktop-file-utils"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils"
|
2013-11-05 16:02:28 +00:00
|
|
|
short_desc="A minimalists web browser, vi-like but with traditional web browser behavior"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="ISC"
|
|
|
|
homepage="https://opensource.conformal.com/wiki/xombrero"
|
|
|
|
#distfiles="http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$version.tgz"
|
|
|
|
distfiles="http://fossies.org/linux/www/${pkgname}-${version}.tgz"
|
2015-02-18 08:13:28 +00:00
|
|
|
checksum=3d818d22fa4b4fd6625522a8901ea695bbf6ae79074f4ec55a1ee16fdc5d2fd9
|
2013-11-05 16:02:28 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i 's|https://www.cyphertite.com|http://www.voidlinux.eu|' xombrero.{c,conf,h}
|
|
|
|
sed -i 's|/etc/ssl/cert.pem|/etc/ssl/certs/ca-certificates.crt|' xombrero.conf
|
|
|
|
sed -i 's|/usr/local/share/xombrero/style.css|/usr/share/xombrero/style.css|' xombrero.conf
|
|
|
|
sed -i 's|/usr/local/share/|/usr/share/|' {unix.c,xombrero.conf,xombrero.h}
|
|
|
|
}
|
|
|
|
do_build() {
|
|
|
|
make -C linux PREFIX=/usr ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make -C linux PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
|
|
vinstall xombrero.conf 644 etc/skel .xombrero.conf
|
|
|
|
}
|