diff options
Diffstat (limited to 'desktop/copyq/copyq.SlackBuild')
-rw-r--r-- | desktop/copyq/copyq.SlackBuild | 10 |
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 |