wok-6.x diff copyq/receipt @ rev 17167
Add copyq
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Sep 22 21:15:12 2014 +0200 (2014-09-22) |
parents | |
children | 1524c6d20738 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/copyq/receipt Mon Sep 22 21:15:12 2014 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="copyq" 1.7 +VERSION="5ff5" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Clipboard Manager with Advanced Features" 1.10 +WEB_SITE="http://hluk.github.io/CopyQ/" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +MAINTAINER="psychomaniak@xakep.ru" 1.14 +WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg libQtXml" 1.17 +BUILD_DEPENDS="wget Qt4-dev cmake qmake" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cat > p.diff <<EOT 1.23 +--- o.cpp 1.24 ++++ configurationmanager.cpp 1.25 +@@ -54 +54 @@ 1.26 +-# define DEFAULT_EDITOR "gedit %1" 1.27 ++# define DEFAULT_EDITOR "xterm +lc -e nano %1" 1.28 +@@ -484 +484 @@ 1.29 +- bind("check_selection", ui->checkBoxSel, false); 1.30 ++ bind("check_selection", ui->checkBoxSel, true); 1.31 +EOT 1.32 + patch $src/src/gui/configurationmanager.cpp p.diff 1.33 + mkdir $src/b 1.34 + cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr .. 1.35 + make && make install 1.36 + rm -rf $src/b 1.37 +} 1.38 + 1.39 +genpkg_rules() 1.40 +{ 1.41 + cp -a $install/* $fs 1.42 +}