contrib/surf/Pkgfile

24 lines
535 B
Plaintext
Raw Normal View History

2013-08-19 20:26:13 +02:00
# Description: simple web-browser
# URL: http://surf.suckless.org/
2018-02-18 21:04:40 +01: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 12:09:28 +01:00
version=2.0
2018-02-18 21:04:40 +01: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 21:04:40 +01:00
cd "$name-$version"
2018-02-04 12:09:28 +01:00
2018-02-18 21:04:40 +01:00
cp $SRC/config.h .
2018-02-04 12:09:28 +01:00
2018-02-18 21:04:40 +01: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
}