# Template file for 'xombrero' pkgname=xombrero version=1.6.3 revision=1 hostmakedepends="pkg-config perl groff" makedepends="libbsd-devel gtk+3-devel gnutls-devel webkitgtk-devel desktop-file-utils" short_desc="A minimalists web browser, vi-like but with traditional web browser behavior" maintainer="Juan RP " 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=481011c136206f7aa3ab4cdf49ad77f81df4d5585f9e9a20c651bfaaaa537f79 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 } xombrero_package() { depends="desktop-file-utils" pkg_install() { vmove all } }