wok-next view copyq/receipt @ rev 18809
Up python-six (1.10.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jan 14 19:18:43 2016 +0000 (2016-01-14) |
parents | 1bd45ef9a523 |
children | 8ba195309a4c |
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 }