summaryrefslogtreecommitdiff
path: root/desktop/copyq/copyq.SlackBuild
diff options
context:
space:
mode:
authorAndrey Maraev <andrew.maraev60@yandex.ru>2014-04-09 16:53:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-09 16:53:55 +0700
commitd5c3e85ba53b251eb011a3101f49203d9436dbf5 (patch)
tree86a6d113bc03bc5327ee8ac9bc3f600b7f057003 /desktop/copyq/copyq.SlackBuild
parent8ddf14b64573001ea7f4040699d46a6c379d668b (diff)
downloadslackbuilds-d5c3e85ba53b251eb011a3101f49203d9436dbf5.tar.gz
desktop/copyq: Updated for version 2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/copyq/copyq.SlackBuild')
-rw-r--r--desktop/copyq/copyq.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/desktop/copyq/copyq.SlackBuild b/desktop/copyq/copyq.SlackBuild
index 5a8323f5d0..44d13d7dde 100644
--- a/desktop/copyq/copyq.SlackBuild
+++ b/desktop/copyq/copyq.SlackBuild
@@ -5,7 +5,7 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
PRGNAM=copyq
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,16 +51,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# fix the plugin install path
-sed -i "s|/lib/copyq/plugins|/lib$LIBDIRSUFFIX/copyq/plugins|" CMakeLists.txt
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DPLUGIN_INSTALL_PREFIX="/usr/lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -70,8 +67,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS CHANGES HACKING INSTALL LICENSE README.md gpl.txt \
+cp -a AUTHORS CHANGES HACKING INSTALL LICENSE README.md gpl.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild