wok view clipit/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (4 months ago)
parents 5ea0ce1cecc0
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # fix subcategory for cascade menu
28 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
29 $src/data/clipit.desktop.in
30 # Do not use clipit icon
31 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
32 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
34 ./autogen.sh \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 ./configure &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/* $fs
46 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
47 }