2013-08-19 20:26:13 +02:00
|
|
|
# Description: simple web-browser
|
|
|
|
# URL: http://surf.suckless.org/
|
2018-02-18 15:04:40 -05:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
|
|
# Depends on: dmenu st webkitgtk xdg-utils xorg-xprop
|
2013-08-19 20:26:13 +02:00
|
|
|
|
|
|
|
name=surf
|
2018-02-04 22:09:28 +11:00
|
|
|
version=2.0
|
2018-02-18 15:04:40 -05:00
|
|
|
release=2
|
|
|
|
source=(http://dl.suckless.org/surf/$name-$version.tar.gz
|
|
|
|
config.h)
|
2013-08-19 20:26:13 +02:00
|
|
|
|
|
|
|
build () {
|
2018-02-18 15:04:40 -05:00
|
|
|
cd "$name-$version"
|
2018-02-04 22:09:28 +11:00
|
|
|
|
2018-02-18 15:04:40 -05:00
|
|
|
cp $SRC/config.h .
|
2018-02-04 22:09:28 +11:00
|
|
|
|
2018-02-18 15:04:40 -05:00
|
|
|
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 CC=gcc
|
|
|
|
make DESTDIR=$PKG PREFIX=/usr install
|
2013-08-19 20:26:13 +02:00
|
|
|
}
|