libraries/libdockapp: Updated for version 0.7.3.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-10-19 22:49:14 -04:00 committed by Willy Sudiarto Raharjo
parent 2628ca3534
commit 53ce91e32b
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="libdockapp"
VERSION="0.7.2"
VERSION="0.7.3"
HOMEPAGE="https://www.dockapps.net/libdockapp"
DOWNLOAD="https://www.dockapps.net/download/libdockapp-0.7.2.tar.gz"
MD5SUM="219e042f8200448eaa34bdf4fc4aa820"
DOWNLOAD="https://www.dockapps.net/download/libdockapp-0.7.3.tar.gz"
MD5SUM="7b029c2b2542d1974085690427354501"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""