28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
# Template file for 'xombrero'
|
|
pkgname=xombrero
|
|
version=1.6.4
|
|
revision=1
|
|
hostmakedepends="pkg-config perl groff"
|
|
makedepends="libbsd-devel gtk+3-devel gnutls-devel webkitgtk-devel desktop-file-utils"
|
|
depends="desktop-file-utils"
|
|
short_desc="A minimalists web browser, vi-like but with traditional web browser behavior"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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"
|
|
checksum=3d818d22fa4b4fd6625522a8901ea695bbf6ae79074f4ec55a1ee16fdc5d2fd9
|
|
|
|
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
|
|
}
|