void-packages/srcpkgs/surf/template

19 lines
563 B
Text
Raw Normal View History

2013-04-05 15:32:18 +00:00
# Template file for 'surf'
pkgname=surf
version=0.6
2015-01-14 16:02:17 +00:00
revision=5
2013-04-05 15:32:18 +00:00
build_style=gnu-makefile
2013-10-03 15:20:45 +00:00
hostmakedepends="pkg-config"
2015-01-09 14:20:30 +00:00
makedepends="webkitgtk2-devel"
2013-04-05 15:32:18 +00:00
short_desc="Simple web browser based on WebKit/GTK+"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-04-05 15:32:18 +00:00
license="MIT"
homepage="http://surf.suckless.org"
distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
2015-01-14 16:02:17 +00:00
pre_build() {
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
}