wok view clipit/receipt @ rev 22053
minitest: post-install(): fix "sed: unmatched '|'" error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 22 19:46:38 2019 +0200 (2019-10-22) |
parents | 67fb91f1be0e |
children | 53c1379e13fa |
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="http://clipit.rspwn.com/"
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 }