# SliTaz package receipt. PACKAGE="clipit" VERSION="1.4.4" CATEGORY="utilities" SHORT_DESC="Lightweight, fully featured GTK+ clipboard manager" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://github.com/CristianHenzel/ClipIt" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/CristianHenzel/ClipIt/archive/v$VERSION.tar.gz" DEPENDS="gtk+" BUILD_DEPENDS="autoconf automake gtk+-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # fix subcategory for cascade menu sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \ $src/data/clipit.desktop.in # Do not use clipit icon sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c ./autogen.sh \ --sysconfdir=/etc \ $CONFIGURE_ARGS && ./configure && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man }