wok annotate copyq/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (16 months ago)
parents 5ea0ce1cecc0
children
rev   line source
psychomaniak@17167 1 # SliTaz package receipt.
psychomaniak@17167 2
psychomaniak@17167 3 PACKAGE="copyq"
pascal@21279 4 VERSION="2.4.2"
psychomaniak@17167 5 CATEGORY="utilities"
psychomaniak@17167 6 SHORT_DESC="Clipboard Manager with Advanced Features"
psychomaniak@17167 7 WEB_SITE="http://hluk.github.io/CopyQ/"
psychomaniak@17167 8 LICENSE="GPL3"
psychomaniak@17167 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@17167 10 MAINTAINER="psychomaniak@xakep.ru"
pascal@21279 11 WGET_URL="https://github.com/hluk/CopyQ/archive/v$VERSION.tar.gz"
psychomaniak@17167 12
psychomaniak@17181 13 DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit"
psychomaniak@17167 14 BUILD_DEPENDS="wget Qt4-dev cmake qmake"
psychomaniak@17167 15
pascal@25598 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25598 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
psychomaniak@17167 23 # Rules to configure and make the package.
psychomaniak@17167 24 compile_rules()
psychomaniak@17167 25 {
psychomaniak@17167 26 cat > p.diff <<EOT
psychomaniak@17167 27 --- o.cpp
psychomaniak@17167 28 +++ configurationmanager.cpp
psychomaniak@17167 29 @@ -54 +54 @@
psychomaniak@17167 30 -# define DEFAULT_EDITOR "gedit %1"
psychomaniak@17181 31 +# define DEFAULT_EDITOR "editor %1"
pascal@21279 32 @@ -468 +468 @@
psychomaniak@17167 33 - bind("check_selection", ui->checkBoxSel, false);
psychomaniak@17167 34 + bind("check_selection", ui->checkBoxSel, true);
psychomaniak@17167 35 EOT
psychomaniak@17167 36 patch $src/src/gui/configurationmanager.cpp p.diff
psychomaniak@17167 37 mkdir $src/b
psychomaniak@17167 38 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
psychomaniak@17167 39 make && make install
psychomaniak@17167 40 rm -rf $src/b
psychomaniak@17167 41 }
psychomaniak@17167 42
psychomaniak@17167 43 genpkg_rules()
psychomaniak@17167 44 {
psychomaniak@17167 45 cp -a $install/* $fs
psychomaniak@17167 46 }