wok view clipit/receipt @ rev 19785

Up cookutils (883)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 13:36:36 2017 +0100 (2017-02-22)
parents 449f2a7e0807
children c9dd0cdd33d8
line source
1 # SliTaz package receipt.
3 PACKAGE="clipit"
4 VERSION="1.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Lightweight, fully featured GTK+ clipboard manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://clipit.rspwn.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/gtkclipit/Version%201/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # fix subcategory for cascade menu
20 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
21 $src/data/clipit.desktop.in
22 # not use clipit icon
23 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
24 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
26 ./configure \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
38 }