wok view clipit/receipt @ rev 25162
updated pycurl (7.43.0.3 -> 7.45.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:12:48 2022 +0100 (2022-07-01) |
parents | 53c1379e13fa |
children | fe1b5660fdd1 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # fix subcategory for cascade menu
27 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
28 $src/data/clipit.desktop.in
29 # Do not use clipit icon
30 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
31 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
33 ./autogen.sh \
34 --sysconfdir=/etc \
35 $CONFIGURE_ARGS &&
36 ./configure &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
46 }