wok-next annotate surf2/receipt @ rev 21566

updated cpio (2.12 -> 2.13)
author Hans-G?nter Theisgen
date Mon Jun 22 16:02:42 2020 +0100 (2020-06-22)
parents 5669e8b3be70
children
rev   line source
al@20366 1 # SliTaz package receipt v2.
al@20366 2
al@20366 3 PACKAGE="surf2"
al@20366 4 VERSION="2.0"
al@20366 5 CATEGORY="network"
al@20366 6 SHORT_DESC="Simple web browser based on WebKit2/GTK+2"
al@20366 7 MAINTAINER="al.bobylev@gmail.com"
al@20366 8 LICENSE="MIT"
al@20366 9 WEB_SITE="https://surf.suckless.org/"
al@20366 10
al@20366 11 TARBALL="surf-$VERSION.tar.gz"
al@20366 12 WGET_URL="https://dl.suckless.org/surf/$TARBALL"
al@20366 13
al@21017 14 BUILD_DEPENDS="gtk2-dev webkit2gtk-dev"
al@20366 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
al@20366 24 }
al@20366 25
al@20366 26 genpkg_rules() {
al@20366 27 copy @std
al@21105 28 DEPENDS="atk libcairo gdk-pixbuf glib gtk3 libsoup pango webkit2gtk \
al@21078 29 libx11"
al@20366 30 SUGGESTED="dmenu"
al@20366 31 PROVIDE="webkit2gtk:surf"
al@20366 32 TAGS="web-browser"
al@20366 33 }