summaryrefslogtreecommitdiffstats
path: root/audio/ocp
diff options
context:
space:
mode:
author SPN Team2023-11-12 03:53:04 +0100
committer Willy Sudiarto Raharjo2023-11-12 06:41:02 +0100
commit2f6552eeba01fc3baa2a445bd0aa49c89f969cce (patch)
tree0ba1e9168762996e5b5db7928fa72575f8677dd1 /audio/ocp
parent563d4b1e669378d6ee70932d379c4a1c2db3b200 (diff)
downloadslackbuilds-2f6552eeba01fc3baa2a445bd0aa49c89f969cce.tar.gz
audio/ocp: Updated for version 0.2.106.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ocp')
-rw-r--r--audio/ocp/ocp.SlackBuild17
-rw-r--r--audio/ocp/ocp.info8
2 files changed, 10 insertions, 15 deletions
diff --git a/audio/ocp/ocp.SlackBuild b/audio/ocp/ocp.SlackBuild
index 65ac6350f0..3635f8b275 100644
--- a/audio/ocp/ocp.SlackBuild
+++ b/audio/ocp/ocp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ocp Open Cubic Player
-# Copyright 2022 SPN Team
+# Copyright 2023 SPN Team
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ocp
-VERSION=${VERSION:-0.2.100}
+VERSION=${VERSION:-0.2.106}
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
@@ -105,23 +102,21 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-rm -f $PKG/usr/info/dir
+rm -rf $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
-
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+rm -rf $PKG/usr/share/mime
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS BUGS COPYING CREDITS Changelog README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/applications/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/ocp/ocp.info b/audio/ocp/ocp.info
index 4880e2b2ce..26dde34d71 100644
--- a/audio/ocp/ocp.info
+++ b/audio/ocp/ocp.info
@@ -1,10 +1,10 @@
PRGNAM="ocp"
-VERSION="0.2.100"
+VERSION="0.2.106"
HOMEPAGE="http://cubic.org/player"
-DOWNLOAD="https://stian.cubic.org/ocp/ocp-0.2.100.tar.xz"
-MD5SUM="820e58656f1c46ea1acd6564b3c48589"
+DOWNLOAD="https://stian.cubic.org/ocp/ocp-0.2.106.tar.xz"
+MD5SUM="b0f5fba18a4b72ea3d0e86143e77593d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnu-unifont xa cJSON"
+REQUIRES="gnu-unifont xa cJSON ancient"
MAINTAINER="SPN Team"
EMAIL="pwmn-master@hotmail.com"