void-packages/srcpkgs/surf/template
2015-05-24 09:28:54 +02:00

20 lines
628 B
Bash

# Template file for 'surf'
pkgname=surf
version=0.6
revision=6
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="webkitgtk2-devel"
short_desc="Simple web browser based on WebKit/GTK+"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://surf.suckless.org"
distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
do_build() {
sed -i 's,/usr/include,,g;s,/usr/lib,,g' config.mk
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
make CC=$CC ${makejobs}
}