aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdockapp/libdockapp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdockapp/libdockapp.SlackBuild')
-rw-r--r--libraries/libdockapp/libdockapp.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild
index eec45ec7a3447..78033821482f6 100644
--- a/libraries/libdockapp/libdockapp.SlackBuild
+++ b/libraries/libdockapp/libdockapp.SlackBuild
@@ -9,6 +9,7 @@
# Original script had no license. Modified version released under
# the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211019 bkw: update for v0.7.3.
# 20180930 bkw:
# - Take over maintenance, BUILD=2.
# - Add doinst.sh with mkfontdir stuff. Specifically, the old version
@@ -22,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libdockapp
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -35,9 +36,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
@@ -70,7 +68,7 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd dockapps-*
+cd dockapps-* 2>/dev/null || cd libdockapp-*
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
@@ -91,8 +89,7 @@ CFLAGS="$SLKCFLAGS" \
make XFONTDIR="/usr/share/fonts"
make install-strip DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts"
-# When 15.0 comes along, uncomment this line:
-# rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
# Stop installing broken fonts.dir. doinst.sh will generate a correct one.
rm -rf $PKG/usr/share/fonts/misc/fonts.dir