wok-6.x view copyq/receipt @ rev 19761

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:21:30 2017 +0000 (2017-02-19)
parents 1bd45ef9a523
children 2a7968e9d2a7
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="5ff5"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard Manager with Advanced Features"
7 WEB_SITE="http://hluk.github.io/CopyQ/"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 MAINTAINER="psychomaniak@xakep.ru"
11 WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION.tar.gz"
13 DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit"
14 BUILD_DEPENDS="wget Qt4-dev cmake qmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cat > p.diff <<EOT
20 --- o.cpp
21 +++ configurationmanager.cpp
22 @@ -54 +54 @@
23 -# define DEFAULT_EDITOR "gedit %1"
24 +# define DEFAULT_EDITOR "editor %1"
25 @@ -484 +484 @@
26 - bind("check_selection", ui->checkBoxSel, false);
27 + bind("check_selection", ui->checkBoxSel, true);
28 EOT
29 patch $src/src/gui/configurationmanager.cpp p.diff
30 mkdir $src/b
31 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
32 make && make install
33 rm -rf $src/b
34 }
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }