wok-next annotate sakura/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | b863487b8e7a |
children | d5aab818505e |
rev | line source |
---|---|
al@19844 | 1 # SliTaz package receipt v2. |
pankso@638 | 2 |
pankso@638 | 3 PACKAGE="sakura" |
al@20657 | 4 VERSION="3.6.0" |
pascal@741 | 5 CATEGORY="utilities" |
al@19844 | 6 SHORT_DESC="Simple GTK+3 and VTE-based terminal emulator" |
al@19844 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17174 | 8 LICENSE="GPL2" |
al@15186 | 9 WEB_SITE="http://www.pleyades.net/david/projects/sakura" |
al@19844 | 10 |
al@19844 | 11 TARBALL="sakura-$VERSION.tar.bz2" |
al@15186 | 12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" |
al@15186 | 13 |
al@21017 | 14 BUILD_DEPENDS="cmake glib-dev gtk3-dev vte-dev gettext" |
pankso@638 | 15 |
al@20657 | 16 compile_rules() { |
al@19844 | 17 sed -i '/TryExec/d; s|Icon=.*|Icon=utilities-terminal|' sakura.desktop |
al@19035 | 18 |
al@19844 | 19 cmake \ |
al@19844 | 20 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19844 | 21 -DCMAKE_BUILD_TYPE=RELEASE \ |
al@19844 | 22 . && |
al@20657 | 23 make && |
al@20657 | 24 make install || return 1 |
al@19844 | 25 |
al@19844 | 26 rm -rf $install/usr/share/pixmaps |
pankso@638 | 27 } |
pankso@638 | 28 |
al@20657 | 29 genpkg_rules() { |
al@19844 | 30 copy @std |
al@19844 | 31 TAGS="terminal" |
al@21017 | 32 DEPENDS="glib gtk3 pango vte" |
pankso@638 | 33 } |