wok-next view copyq/receipt @ rev 21229
updated clamav (0.99.4 -> 0.101.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:54:38 2019 +0100 (2019-12-03) |
parents | c0521c689857 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="3.1.1+git"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard Manager with Advanced Features"
7 WEB_SITE="http://hluk.github.io/CopyQ/"
8 LICENSE="GPL3"
9 MAINTAINER="psychomaniak@xakep.ru"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 VERSION_GIT="4d97bdb"
13 WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION_GIT.tar.gz"
15 BUILD_DEPENDS="qt5-dev cmake expat-dev xorg-dev zlib-dev expat-dev mesa-dev"
17 compile_rules() {
18 cat > p.diff <<EOT
19 --- o.cpp
20 +++ configurationmanager.cpp
21 @@ -54 +54 @@
22 -# define DEFAULT_EDITOR "gedit %1"
23 +# define DEFAULT_EDITOR "editor %1"
24 @@ -484 +484 @@
25 - bind("check_selection", ui->checkBoxSel, false);
26 + bind("check_selection", ui->checkBoxSel, true);
27 EOT
28 patch $src/src/gui/configurationmanager.cpp p.diff
29 mkdir $src/b
30 cd $src/b
32 cmake \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 .. &&
35 make &&
36 make install
38 rm -rf $src/b
39 }
41 genpkg_rules() {
42 cp -a $install/* $fs
43 DEPENDS="qt5-base"
44 }