wok-next diff surf2/receipt @ rev 20979

Build vifm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:38:02 2018 +0300 (2018-09-27)
parents
children f48456621a9d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/surf2/receipt	Thu Sep 27 01:38:02 2018 +0300
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="surf2"
     1.7 +VERSION="2.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Simple web browser based on WebKit2/GTK+2"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://surf.suckless.org/"
    1.13 +
    1.14 +TARBALL="surf-$VERSION.tar.gz"
    1.15 +WGET_URL="https://dl.suckless.org/surf/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="gtk+-dev webkit2gtk-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	sed -i 's|/usr/local|/usr|' config.mk
    1.21 +
    1.22 +	make install || return 1
    1.23 +
    1.24 +	icodir="$install/usr/share/pixmaps/"
    1.25 +	mkdir -p $icodir
    1.26 +	cp surf.png $icodir
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	copy @std
    1.31 +	DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libsoup pango webkit2gtk \
    1.32 +	xorg-libX11"
    1.33 +	SUGGESTED="dmenu"
    1.34 +	PROVIDE="webkit2gtk:surf"
    1.35 +	TAGS="web-browser"
    1.36 +}