wok-next view copyq/receipt @ rev 20970
Typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 08:02:55 2018 +0300 (2018-09-14) |
parents | 0c46647d6ef2 |
children | d5aab818505e |
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 mesa-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 }