From 25f0cc670ee569dd50daa6131cdbf880ede6dd77 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 24 Nov 2021 15:53:01 -0500 Subject: libraries/libtsm: Remove .la file. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/libtsm/libtsm.SlackBuild | 15 ++++++--------- libraries/libtsm/libtsm.info | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'libraries') diff --git a/libraries/libtsm/libtsm.SlackBuild b/libraries/libtsm/libtsm.SlackBuild index 05dafc603d..38d5688942 100644 --- a/libraries/libtsm/libtsm.SlackBuild +++ b/libraries/libtsm/libtsm.SlackBuild @@ -6,11 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211124 bkw: BUILD=2, remove .la file. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libtsm VERSION=${VERSION:-3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -57,11 +56,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -78,6 +74,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING LICENSE* NEWS README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/libtsm/libtsm.info b/libraries/libtsm/libtsm.info index 41df1721cd..a3c6793f2e 100644 --- a/libraries/libtsm/libtsm.info +++ b/libraries/libtsm/libtsm.info @@ -1,7 +1,7 @@ PRGNAM="libtsm" VERSION="3" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/libtsm/" -DOWNLOAD="http://freedesktop.org/software/kmscon/releases/libtsm-3.tar.xz" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libtsm/" +DOWNLOAD="https://freedesktop.org/software/kmscon/releases/libtsm-3.tar.xz" MD5SUM="c1b297a69d11a72f207ec35ae5ce7d69" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3