aboutsummaryrefslogtreecommitdiff
path: root/multimedia/picard-plugins/picard-plugins.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo@gmail.com>2022-08-12 20:42:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 10:40:39 +0700
commitb6594f725f2144de16f6a2334825f4f98058eae7 (patch)
tree3dfe5809afff50092dbcb948d482b78b8201c3a2 /multimedia/picard-plugins/picard-plugins.SlackBuild
parentbbf5b574aa03444d1631be9bd2900bd36f635978 (diff)
multimedia/picard-plugins: Updated for version ed8d64c.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/picard-plugins/picard-plugins.SlackBuild')
-rw-r--r--multimedia/picard-plugins/picard-plugins.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/picard-plugins/picard-plugins.SlackBuild b/multimedia/picard-plugins/picard-plugins.SlackBuild
index ac4472d450e87..b46968bcee247 100644
--- a/multimedia/picard-plugins/picard-plugins.SlackBuild
+++ b/multimedia/picard-plugins/picard-plugins.SlackBuild
@@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=picard-plugins
DSTNAM=picard
-VERSION=${VERSION:-dac5623}
-COMMIT=${COMMIT:-dac5623f0aa7105fd0643f00795ff122e9c902c2}
+VERSION=${VERSION:-ed8d64c}
+COMMIT=${COMMIT:-ed8d64c022fd15075487b94b74e4e53f87b1740c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,10 +80,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
+PYTHONDIR=$(python3 -c "import sys, os; print(os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages'))")
mkdir -p $PKG/$PYTHONDIR/$DSTNAM/plugins
(
cd plugins
+ if [ "${BPM:-no}" = "no" ]; then
+ rm -rf bpm
+ fi
+ rm -rf haikuattrs
find . -maxdepth 2 -name '__init__.py' -printf '%h\n'|xargs mv -t $PKG/$PYTHONDIR/$DSTNAM/plugins/
cp -a */* $PKG/$PYTHONDIR/$DSTNAM/plugins/
)