wok-next view copyq/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 4db41c0dada2 |
children | c0521c689857 |
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="qt5-base"
15 BUILD_DEPENDS="qt5-dev cmake expat-dev xorg-dev zlib-dev expat-dev mesa17-dev"
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 }