aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/tox-extension-messages/tox-extension-messages.SlackBuild11
-rw-r--r--libraries/tox-extension-messages/tox-extension-messages.info6
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 6ec7e90770d1..3a6295b88e3e 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 125373020ff8..85e7dbe7dde6 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"