wok view qlipper/receipt @ rev 25428

updated xarchiver (0.5.4.14 -> 0.5.4.18)
author Hans-G?nter Theisgen
date Thu Aug 18 17:12:42 2022 +0100 (2022-08-18)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qlipper"
4 VERSION="2.0.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard history tool."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pvanek/qlipper"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/pvanek/qlipper/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="libQtGui libQtDBus libQtNetwork"
14 BUILD_DEPENDS="Qt4-dev cmake qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
27 cmake \
28 -DCMAKE_BUILD_TYPE=release \
29 -DUSE_SYSTEM_QXT=0 \
30 -DCMAKE_INSTALL_PREFIX=/usr . &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }