wok annotate copyq/receipt @ rev 19685

Up tazpkg (942)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 12 04:43:38 2017 +0200 (2017-02-12)
parents 1bd45ef9a523
children 2a7968e9d2a7
rev   line source
psychomaniak@17167 1 # SliTaz package receipt.
psychomaniak@17167 2
psychomaniak@17167 3 PACKAGE="copyq"
psychomaniak@17167 4 VERSION="5ff5"
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"
psychomaniak@17167 11 WGET_URL="https://github.com/hluk/CopyQ/archive/$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
psychomaniak@17167 16 # Rules to configure and make the package.
psychomaniak@17167 17 compile_rules()
psychomaniak@17167 18 {
psychomaniak@17167 19 cat > p.diff <<EOT
psychomaniak@17167 20 --- o.cpp
psychomaniak@17167 21 +++ configurationmanager.cpp
psychomaniak@17167 22 @@ -54 +54 @@
psychomaniak@17167 23 -# define DEFAULT_EDITOR "gedit %1"
psychomaniak@17181 24 +# define DEFAULT_EDITOR "editor %1"
psychomaniak@17167 25 @@ -484 +484 @@
psychomaniak@17167 26 - bind("check_selection", ui->checkBoxSel, false);
psychomaniak@17167 27 + bind("check_selection", ui->checkBoxSel, true);
psychomaniak@17167 28 EOT
psychomaniak@17167 29 patch $src/src/gui/configurationmanager.cpp p.diff
psychomaniak@17167 30 mkdir $src/b
psychomaniak@17167 31 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
psychomaniak@17167 32 make && make install
psychomaniak@17167 33 rm -rf $src/b
psychomaniak@17167 34 }
psychomaniak@17167 35
psychomaniak@17167 36 genpkg_rules()
psychomaniak@17167 37 {
psychomaniak@17167 38 cp -a $install/* $fs
psychomaniak@17167 39 }