wok-next annotate surf/receipt @ rev 21010
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 12 16:40:30 2018 +0300 (2018-10-12) |
parents | 5d53e8ccbc8d |
children | f48456621a9d |
rev | line source |
---|---|
al@20366 | 1 # SliTaz package receipt v2. |
mallory@6302 | 2 |
mallory@6302 | 3 PACKAGE="surf" |
al@20366 | 4 VERSION="1.8" |
mallory@6302 | 5 CATEGORY="network" |
al@20366 | 6 SHORT_DESC="Simple web browser based on WebKit/GTK+2" |
mallory@6302 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15316 | 8 LICENSE="MIT" |
al@20366 | 9 WEB_SITE="https://surf.suckless.org/" |
al@20366 | 10 |
mallory@6302 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20366 | 12 WGET_URL="https://dl.suckless.org/surf/$TARBALL" |
mallory@6302 | 13 |
al@20366 | 14 BUILD_DEPENDS="gtk+-dev webkitgtk-dev" |
pascal@15110 | 15 |
al@20366 | 16 compile_rules() { |
al@20366 | 17 sed -i 's|/usr/local|/usr|' config.mk |
al@20366 | 18 |
al@20366 | 19 make install || return 1 |
al@20366 | 20 |
al@20366 | 21 icodir="$install/usr/share/pixmaps/" |
al@20366 | 22 mkdir -p $icodir |
al@20366 | 23 cp surf.png $icodir |
mallory@6302 | 24 } |
mallory@6302 | 25 |
al@20366 | 26 genpkg_rules() { |
al@20366 | 27 copy @std |
al@20366 | 28 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libsoup pango \ |
al@20366 | 29 webkitgtk xorg-libX11" |
al@20366 | 30 SUGGESTED="dmenu" |
al@20366 | 31 TAGS="web-browser" |
mallory@6302 | 32 } |