libraries/qt4: Respect TAG.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-01-27 20:43:58 +13:00 committed by Willy Sudiarto Raharjo
parent 4aec3fd27b
commit 77701b7e97
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -53,12 +53,12 @@ if [ -z "$ARCH" ]; then
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD.$PKGTYPE"
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PRGNAM}
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@ -97,7 +97,7 @@ set -e
SRC=qt-everywhere-opensource-src-$VERSION
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRC
tar xvf $CWD/$SRC.tar.gz
@ -314,4 +314,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.$PKGTYPE
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE