contrib/surf/Pkgfile
2018-02-04 22:09:28 +11:00

24 lines
567 B
Plaintext

# Description: simple web-browser
# URL: http://surf.suckless.org/
# Maintainer: Maximilian Dietrich, dxm at openmailbox dot org
# Depends on: dmenu webkitgtk xorg-xprop xterm
name=surf
version=2.0
release=1
source=(http://dl.suckless.org/surf/$name-$version.tar.gz config.h)
build () {
cd "$name-$version"
#cp $SRC/config.h .
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
make
make DESTDIR=$PKG \
PREFIX=/usr \
install
}