wok annotate copyq/receipt @ rev 24248
updated perl-net-telnet (3.04 -> 3.05)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:35:45 2022 +0100 (2022-01-02) |
parents | 2a7968e9d2a7 |
children | fe1b5660fdd1 |
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@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
psychomaniak@17167 | 22 # Rules to configure and make the package. |
psychomaniak@17167 | 23 compile_rules() |
psychomaniak@17167 | 24 { |
psychomaniak@17167 | 25 cat > p.diff <<EOT |
psychomaniak@17167 | 26 --- o.cpp |
psychomaniak@17167 | 27 +++ configurationmanager.cpp |
psychomaniak@17167 | 28 @@ -54 +54 @@ |
psychomaniak@17167 | 29 -# define DEFAULT_EDITOR "gedit %1" |
psychomaniak@17181 | 30 +# define DEFAULT_EDITOR "editor %1" |
pascal@21279 | 31 @@ -468 +468 @@ |
psychomaniak@17167 | 32 - bind("check_selection", ui->checkBoxSel, false); |
psychomaniak@17167 | 33 + bind("check_selection", ui->checkBoxSel, true); |
psychomaniak@17167 | 34 EOT |
psychomaniak@17167 | 35 patch $src/src/gui/configurationmanager.cpp p.diff |
psychomaniak@17167 | 36 mkdir $src/b |
psychomaniak@17167 | 37 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
psychomaniak@17167 | 38 make && make install |
psychomaniak@17167 | 39 rm -rf $src/b |
psychomaniak@17167 | 40 } |
psychomaniak@17167 | 41 |
psychomaniak@17167 | 42 genpkg_rules() |
psychomaniak@17167 | 43 { |
psychomaniak@17167 | 44 cp -a $install/* $fs |
psychomaniak@17167 | 45 } |