wok view copyq/receipt @ rev 17167

Add copyq
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Sep 22 21:15:12 2014 +0200 (2014-09-22)
parents
children 1524c6d20738
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 libQtXml"
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 "xterm +lc -e nano %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 }