From 37cd48e9d29e79aa6fff3d80b4e58c5ee79ee3fd Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 3 Feb 2022 21:11:45 +0100 Subject: libraries/tox-extension-messages: Updated for version 0.0.3. Fix libraries installation directory Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- .../tox-extension-messages/tox-extension-messages.SlackBuild | 11 ++++++----- libraries/tox-extension-messages/tox-extension-messages.info | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/libraries/tox-extension-messages/tox-extension-messages.SlackBuild b/libraries/tox-extension-messages/tox-extension-messages.SlackBuild index 6ec7e90770..3a6295b88e 100644 --- a/libraries/tox-extension-messages/tox-extension-messages.SlackBuild +++ b/libraries/tox-extension-messages/tox-extension-messages.SlackBuild @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tox-extension-messages -VERSION=${VERSION:-0.0.2} +SRCNAM=$(echo $PRGNAM | tr - _ ) +VERSION=${VERSION:-0.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,11 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -mv ${PRGNAM//-/_}-$VERSION $PRGNAM-$VERSION -cd $PRGNAM-$VERSION - +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,6 +80,8 @@ 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 {} \; +sed -i "s|DESTINATION\ lib|DESTINATION lib$LIBDIRSUFFIX|" CMakeLists.txt + cmake . \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \ diff --git a/libraries/tox-extension-messages/tox-extension-messages.info b/libraries/tox-extension-messages/tox-extension-messages.info index 125373020f..85e7dbe7dd 100644 --- a/libraries/tox-extension-messages/tox-extension-messages.info +++ b/libraries/tox-extension-messages/tox-extension-messages.info @@ -1,8 +1,8 @@ PRGNAM="tox-extension-messages" -VERSION="0.0.2" +VERSION="0.0.3" HOMEPAGE="https://github.com/toxext/tox_extension_messages" -DOWNLOAD="https://github.com/toxext/tox_extension_messages/archive/refs/tags/v0.0.2.tar.gz" -MD5SUM="fcf8e98df80cbfc64c8d1de6740c247c" +DOWNLOAD="https://github.com/toxext/tox_extension_messages/archive/v0.0.3/tox-extension-messages-0.0.3.tar.gz" +MD5SUM="852efcaaefcaf981e7b2a6786876c64a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="toxext" -- cgit v1.2.3