wok view clipit/receipt @ rev 22639

dd_rescue: update $TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 13 21:10:17 2020 +0100 (2020-01-13)
parents 6485326ac9a2
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="clipit"
4 VERSION="1.4.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Lightweight, fully featured GTK+ clipboard manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/CristianHenzel/ClipIt"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/CristianHenzel/ClipIt/archive/v$VERSION.tar.gz"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="autoconf automake gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # fix subcategory for cascade menu
21 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
22 $src/data/clipit.desktop.in
23 # Do not use clipit icon
24 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
25 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
27 ./autogen.sh \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 ./configure &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
40 }