wok-next view surf2/receipt @ rev 20588
e4rat: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:12:31 2018 +0300 (2018-04-14) |
parents | |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="surf2"
4 VERSION="2.0"
5 CATEGORY="network"
6 SHORT_DESC="Simple web browser based on WebKit2/GTK+2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://surf.suckless.org/"
11 TARBALL="surf-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/surf/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev webkit2gtk-dev"
16 compile_rules() {
17 sed -i 's|/usr/local|/usr|' config.mk
19 make install || return 1
21 icodir="$install/usr/share/pixmaps/"
22 mkdir -p $icodir
23 cp surf.png $icodir
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libsoup pango webkit2gtk \
29 xorg-libX11"
30 SUGGESTED="dmenu"
31 PROVIDE="webkit2gtk:surf"
32 TAGS="web-browser"
33 }