contrib/surf/Pkgfile

24 lines
567 B
Plaintext
Raw Normal View History

2013-08-19 20:26:13 +02:00
# Description: simple web-browser
# URL: http://surf.suckless.org/
# Maintainer: Maximilian Dietrich, dxm at openmailbox dot org
2018-02-04 12:09:28 +01:00
# Depends on: dmenu webkitgtk xorg-xprop xterm
2013-08-19 20:26:13 +02:00
name=surf
2018-02-04 12:09:28 +01:00
version=2.0
2013-08-19 20:26:13 +02:00
release=1
source=(http://dl.suckless.org/surf/$name-$version.tar.gz config.h)
build () {
cd "$name-$version"
2018-02-04 12:09:28 +01:00
#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
2013-08-19 20:26:13 +02:00
make
make DESTDIR=$PKG \
2018-02-04 12:09:28 +01:00
PREFIX=/usr \
install
2013-08-19 20:26:13 +02:00
}