wok-6.x annotate clipit/receipt @ rev 21024
gyrus: TARBALL modified
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 16:14:31 2019 +0100 (2019-03-10) |
parents | 67fb91f1be0e |
children | 53c1379e13fa |
rev | line source |
---|---|
al@15212 | 1 # SliTaz package receipt. |
al@15212 | 2 |
al@15212 | 3 PACKAGE="clipit" |
Hans-G?nter@20796 | 4 VERSION="1.4.4" |
al@15212 | 5 CATEGORY="utilities" |
al@15212 | 6 SHORT_DESC="Lightweight, fully featured GTK+ clipboard manager" |
al@15212 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@15212 | 8 LICENSE="GPL3" |
al@15212 | 9 WEB_SITE="http://clipit.rspwn.com/" |
Hans-G?nter@20796 | 10 |
al@15212 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20796 | 12 WGET_URL="https://github.com/CristianHenzel/ClipIt/archive/v$VERSION.tar.gz" |
al@15212 | 13 |
al@15212 | 14 DEPENDS="gtk+" |
Hans-G?nter@20798 | 15 BUILD_DEPENDS="autoconf automake gtk+-dev" |
al@15212 | 16 |
al@15212 | 17 # Rules to configure and make the package. |
al@15212 | 18 compile_rules() |
al@15212 | 19 { |
al@15212 | 20 # fix subcategory for cascade menu |
al@15212 | 21 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \ |
al@15212 | 22 $src/data/clipit.desktop.in |
Hans-G?nter@20796 | 23 # Do not use clipit icon |
al@15275 | 24 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in |
al@15275 | 25 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c |
al@15212 | 26 |
Hans-G?nter@20796 | 27 ./autogen.sh \ |
al@15275 | 28 --sysconfdir=/etc \ |
al@15275 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@20796 | 30 ./configure && |
al@15275 | 31 make && |
al@15275 | 32 make install |
al@15212 | 33 } |
al@15212 | 34 |
al@15212 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@15212 | 36 genpkg_rules() |
al@15212 | 37 { |
al@15212 | 38 cp -a $install/* $fs |
al@15275 | 39 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man |
al@15212 | 40 } |