diff options
Diffstat (limited to 'audio/mpdscribble')
-rw-r--r-- | audio/mpdscribble/mpdscribble.SlackBuild | 40 | ||||
-rw-r--r-- | audio/mpdscribble/mpdscribble.info | 6 |
2 files changed, 24 insertions, 22 deletions
diff --git a/audio/mpdscribble/mpdscribble.SlackBuild b/audio/mpdscribble/mpdscribble.SlackBuild index 8067942899..15462af591 100644 --- a/audio/mpdscribble/mpdscribble.SlackBuild +++ b/audio/mpdscribble/mpdscribble.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mpdscribble -# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mpdscribble -VERSION=${VERSION:-0.22} +VERSION=${VERSION:-0.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,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 +67,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,24 +76,29 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. gzip -9 $PKG/usr/man/man?/*.? mv $PKG/etc/mpdscribble.conf $PKG/etc/mpdscribble.conf.new -cp -a COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING NEWS README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/mpdscribble/mpdscribble.info b/audio/mpdscribble/mpdscribble.info index 70f30fe94b..82e8509fb0 100644 --- a/audio/mpdscribble/mpdscribble.info +++ b/audio/mpdscribble/mpdscribble.info @@ -1,8 +1,8 @@ PRGNAM="mpdscribble" -VERSION="0.22" +VERSION="0.24" HOMEPAGE="https://www.musicpd.org/clients/mpdscribble/" -DOWNLOAD="https://www.musicpd.org/download/mpdscribble/0.22/mpdscribble-0.22.tar.gz" -MD5SUM="df95ea5046511102bf1bcc35482d0365" +DOWNLOAD="https://www.musicpd.org/download/mpdscribble/0.24/mpdscribble-0.24.tar.xz" +MD5SUM="51e00c9a5eea63f9b63a78cd690ecadd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmpdclient mpd" |