wok-6.x view copyq/receipt @ rev 20339
Up tazlito (511), slitaz-boot-scripts (451), zopfli (1.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 05 20:33:30 2018 +0200 (2018-06-05) |
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 }