blob: 5a0e8ac5c1eba159505104b61af763da8fe5266d (
plain)
1 # Description: simple web-browser
2 # URL: http://surf.suckless.org/
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Depends on: dmenu st webkitgtk xdg-utils xorg-xprop
5
6 name=surf
7 version=2.0
8 release=3
9 source=(http://dl.suckless.org/surf/$name-$version.tar.gz)
10
11 build () {
12 cd "$name-$version"
13
14 if [ -f $PKGMK_ROOT/config.h ]; then
15 cp $PKGMK_ROOT/config.h .
16 fi
17
18 sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
19 sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
20 sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
21
22 make CC=gcc
23 make DESTDIR=$PKG PREFIX=/usr install
24 }
|