wok-next view clipit/receipt @ rev 19710

Up perl-html-tree (avoid dependency loop)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 04:40:46 2017 +0300 (2017-05-11)
parents 449f2a7e0807
children bf4cf6b0f742
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 }