diff options
Diffstat (limited to 'libraries/compizconfig-python/compizconfig-python.SlackBuild')
-rw-r--r-- | libraries/compizconfig-python/compizconfig-python.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/compizconfig-python/compizconfig-python.SlackBuild b/libraries/compizconfig-python/compizconfig-python.SlackBuild index 2a89640161a79..f8f7f7ad33e63 100644 --- a/libraries/compizconfig-python/compizconfig-python.SlackBuild +++ b/libraries/compizconfig-python/compizconfig-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for compizconfig-python -# Copyright 2016 Matt Dinslage, Springfield, MO +# Copyright 2021 Matt Dinslage, Springfield, MO # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=compizconfig-python -VERSION=${VERSION:-0.8.14} +VERSION=${VERSION:-0.8.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,7 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +PYTHON=python3 \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -93,6 +94,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Don't ship .la files: +find $PKG -type f -iname '*.la' -exec rm -rf {} \; + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |