wok annotate clipit/receipt @ rev 24509
updated edid-decode (fork-point-4 -> fork-point-5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 17:31:17 2022 +0100 (2022-02-20) |
parents | 53c1379e13fa |
children | fe1b5660fdd1 |
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" |
pascal@22632 | 9 WEB_SITE="https://github.com/CristianHenzel/ClipIt" |
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 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@15212 | 23 # Rules to configure and make the package. |
al@15212 | 24 compile_rules() |
al@15212 | 25 { |
al@15212 | 26 # fix subcategory for cascade menu |
al@15212 | 27 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \ |
al@15212 | 28 $src/data/clipit.desktop.in |
Hans-G?nter@20796 | 29 # Do not use clipit icon |
al@15275 | 30 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in |
al@15275 | 31 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c |
al@15212 | 32 |
Hans-G?nter@20796 | 33 ./autogen.sh \ |
al@15275 | 34 --sysconfdir=/etc \ |
al@15275 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@20796 | 36 ./configure && |
al@15275 | 37 make && |
al@15275 | 38 make install |
al@15212 | 39 } |
al@15212 | 40 |
al@15212 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@15212 | 42 genpkg_rules() |
al@15212 | 43 { |
al@15212 | 44 cp -a $install/* $fs |
al@15275 | 45 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man |
al@15212 | 46 } |