summaryrefslogtreecommitdiffstats
path: root/audio/clementine/clementine.SlackBuild
diff options
context:
space:
mode:
author Jeremy Hansen2023-06-02 04:08:04 +0200
committer Willy Sudiarto Raharjo2023-06-03 05:20:43 +0200
commit186079e58d74aa0ccca504e973c24a886697c2a1 (patch)
treeab46c6271a9fb4c7dda9f6b926a355c4167ef2eb /audio/clementine/clementine.SlackBuild
parent14cc3acbdb88e920a14bc6f7278fd4534d3d2ef0 (diff)
downloadslackbuilds-186079e58d74aa0ccca504e973c24a886697c2a1.tar.gz
audio/clementine: Version bump to 1.4.0rc2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/clementine/clementine.SlackBuild')
-rw-r--r--audio/clementine/clementine.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 197f803561..e93a9677a3 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for clementine
# Copyright 2010 David Woodfall <dave@slackbuilds.org>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=clementine
-VERSION=${VERSION:-1.4.0rc1_420_g596cd9b0a}
-SRCVER=$(echo $VERSION | tr _ - )
+SRCNAM=Clementine
+VERSION=${VERSION:-1.4.0rc2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +42,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
@@ -72,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
-cd $PRGNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,11 +88,11 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
- make all CFLAGS="-fPIC" PMFLAGS="-DNEWBUFFER"
+ make
make install DESTDIR=$PKG
cd ..
-for i in 16 32 64 128; do
+for i in 16 32; do
install -m 0644 -D dist/${PRGNAM}_${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/application-x-clementine.png
done