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>
This commit is contained in:
Matteo Bernardini 2022-02-03 21:11:45 +01:00 committed by Willy Sudiarto Raharjo
parent 51eb4e041c
commit 37cd48e9d2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 8 deletions

View file

@ -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" \

View file

@ -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"