wok-next view copyq/receipt @ rev 19972
Up copyq (3.1.1), qedit (2.8.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 17 19:29:54 2017 +0200 (2017-10-17) |
parents | 1524c6d20738 |
children | 4db41c0dada2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="3.1.1+git"
5 VERSION_GIT="4d97bdb"
6 CATEGORY="utilities"
7 SHORT_DESC="Clipboard Manager with Advanced Features"
8 WEB_SITE="http://hluk.github.io/CopyQ/"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 MAINTAINER="psychomaniak@xakep.ru"
12 WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION_GIT.tar.gz"
14 DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit"
15 BUILD_DEPENDS="wget Qt4-dev cmake qmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cat > p.diff <<EOT
21 --- o.cpp
22 +++ configurationmanager.cpp
23 @@ -54 +54 @@
24 -# define DEFAULT_EDITOR "gedit %1"
25 +# define DEFAULT_EDITOR "editor %1"
26 @@ -484 +484 @@
27 - bind("check_selection", ui->checkBoxSel, false);
28 + bind("check_selection", ui->checkBoxSel, true);
29 EOT
30 patch $src/src/gui/configurationmanager.cpp p.diff
31 mkdir $src/b
32 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
33 make && make install
34 rm -rf $src/b
35 }
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }