summaryrefslogtreecommitdiff
path: root/audio/pd/pd.SlackBuild
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2018-05-13 09:00:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-13 09:01:01 +0700
commite2fc5acba828aea7c48abc0d844287e9fea9c462 (patch)
tree6274542d0f30d139017b4cb324283cbedc3c114f /audio/pd/pd.SlackBuild
parentba581baab335a3709c8baad7a7b0d5a88275d062 (diff)
downloadslackbuilds-e2fc5acba828aea7c48abc0d844287e9fea9c462.tar.gz
audio/pd: Updated for version 0.48_1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/pd/pd.SlackBuild')
-rw-r--r--audio/pd/pd.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild
index bb4f9b8f1c..977741b4f6 100644
--- a/audio/pd/pd.SlackBuild
+++ b/audio/pd/pd.SlackBuild
@@ -16,8 +16,8 @@
# - correct .desktop Exec (2017)
PRGNAM=pd
-VERSION=${VERSION:-0.47.1}
-SRCVERSION=$(echo $VERSION | sed -r 's/(.*)\.([0-9])$/\1-\2/')
+VERSION=${VERSION:-0.48_1}
+SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,17 +93,9 @@ mkdir -p $PKG/usr/share/$PRGNAM
# Change the .desktop to point in correct executable.
sed "s+Exec=pd+Exec=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/bin/$PRGNAM+" $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# for unknown reason to me (Michaloudes), this fails (can't find pd-gui.tcl) but the executable from
-# /usr/lib{$LIBDIRSUFFIX}/usr/bin/pd is ok!
-rm $PKG/usr/bin/pd
-rm $PKG/usr/bin/pd-gui.tcl
convert $TMP/$PRGNAM-$SRCVERSION/src/pd.ico $TMP/${PRGNAM}_48.xpm
cp $TMP/${PRGNAM}_48-3.xpm $PKG/usr/share/$PRGNAM
-# For 0.43-0 version
-#mkdir -p $PKG/usr/lib/pd/tcl/
-#cp -a $TMP/$PRGNAM-$SRCVERSION/tcl/*.tcl $PKG/usr/lib/pd/tcl/
-
# copy all header files (for pd_mrpeach)
cp -p $TMP/$PRGNAM-$SRCVERSION/src/*.h $PKG/usr/include/