summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/drumstick/drumstick.SlackBuild15
-rw-r--r--audio/drumstick/drumstick.info6
2 files changed, 8 insertions, 13 deletions
diff --git a/audio/drumstick/drumstick.SlackBuild b/audio/drumstick/drumstick.SlackBuild
index 163097f03c..7bba63cef4 100644
--- a/audio/drumstick/drumstick.SlackBuild
+++ b/audio/drumstick/drumstick.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for <drumstick>
#
-# Copyright Michales (clavisound) Michaloudes korgie@gmail.com <2019>
+# Copyright Michales (clavisound) Michaloudes korgie@gmail.com <2019,2021>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=drumstick
-VERSION=${VERSION:-1.1.3}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -47,7 +47,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,6 +88,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
+ -DBUILD_DOCS=NO \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -96,21 +97,15 @@ cd ..
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
-mv $PKG/usr/share/man $PKG/usr
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog README TODO NEWS \
+ AUTHORS COPYING ChangeLog readme.md TODO NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-#cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/drumstick/drumstick.info b/audio/drumstick/drumstick.info
index 51f356ab89..cf4505da02 100644
--- a/audio/drumstick/drumstick.info
+++ b/audio/drumstick/drumstick.info
@@ -1,8 +1,8 @@
PRGNAM="drumstick"
-VERSION="1.1.3"
+VERSION="2.4.1"
HOMEPAGE="https://drumstick.sourceforge.io/"
-DOWNLOAD="https://sourceforge.net/projects/drumstick/files/1.1.3/drumstick-1.1.3.tar.bz2"
-MD5SUM="80de9f184341c41f459fef8862d4d560"
+DOWNLOAD="https://sourceforge.net/projects/drumstick/files/2.4.1/drumstick-2.4.1.tar.bz2"
+MD5SUM="3027965c37f1ab3b0b1dc1e77edc020e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""