libraries/lxqt-build-tools: Updated for version 0.12.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Isaac Yu 2022-12-15 18:21:31 +00:00 committed by Willy Sudiarto Raharjo
parent 52d391cc89
commit 27d0639082
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 30 deletions

View file

@ -4,6 +4,7 @@
#
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2018-2022 Matteo Bernardini, Pisa, Italy.
# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,22 +27,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="lxqt-build-tools"
VERSION=${VERSION:-0.11.0}
VERSION=${VERSION:-0.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
ARCH=noarch
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -51,20 +43,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG

View file

@ -1,10 +1,10 @@
PRGNAM="lxqt-build-tools"
VERSION="0.11.0"
VERSION="0.12.0"
HOMEPAGE="https://github.com/lxde/lxqt-build-tools"
DOWNLOAD="https://github.com/lxqt/lxqt-build-tools/releases/download/0.11.0/lxqt-build-tools-0.11.0.tar.xz"
MD5SUM="983ce8cbc021383f2ee56f1e2faf8506"
DOWNLOAD="https://github.com/lxqt/lxqt-build-tools/releases/download/0.12.0/lxqt-build-tools-0.12.0.tar.xz"
MD5SUM="e53a622de65fd6f8e792bc203e7ebae4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"