wok view copyq/receipt @ rev 23816

gettext: include its files (really) from /usr/share/gettext-0.19.8
author Hans-G?nter Theisgen
date Tue May 26 14:50:14 2020 +0100 (2020-05-26)
parents 1524c6d20738
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="2.4.2"
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/v$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 @@ -468 +468 @@
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 }