aboutsummaryrefslogtreecommitdiff
path: root/libraries/tox-extension-messages
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 21:11:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:42 +0700
commit37cd48e9d29e79aa6fff3d80b4e58c5ee79ee3fd (patch)
tree99867b4460fca1c57182025b03518c479f73e3e7 /libraries/tox-extension-messages
parent51eb4e041c19c0c61bef8088d630575426377ddb (diff)
libraries/tox-extension-messages: Updated for version 0.0.3.
Fix libraries installation directory Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tox-extension-messages')
-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"