mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/ocp: Updated for version 0.2.106.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
563d4b1e66
commit
2f6552eeba
2 changed files with 10 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for ocp Open Cubic Player
|
# Slackware build script for ocp Open Cubic Player
|
||||||
|
|
||||||
# Copyright 2022 SPN Team
|
# Copyright 2023 SPN Team
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=ocp
|
PRGNAM=ocp
|
||||||
VERSION=${VERSION:-0.2.100}
|
VERSION=${VERSION:-0.2.106}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
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 {} \;
|
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
|
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*
|
gzip -9 $PKG/usr/info/*.info*
|
||||||
|
rm -rf $PKG/usr/share/mime
|
||||||
find $PKG -name perllocal.pod \
|
|
||||||
-o -name ".packlist" \
|
|
||||||
-o -name "*.bs" \
|
|
||||||
| xargs rm -f
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
AUTHORS BUGS COPYING CREDITS Changelog README.md \
|
AUTHORS BUGS COPYING CREDITS Changelog README.md \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
rm -rf $PKG/usr/share/applications/
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
cat $CWD/douninst.sh > $PKG/install/douninst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="ocp"
|
PRGNAM="ocp"
|
||||||
VERSION="0.2.100"
|
VERSION="0.2.106"
|
||||||
HOMEPAGE="http://cubic.org/player"
|
HOMEPAGE="http://cubic.org/player"
|
||||||
DOWNLOAD="https://stian.cubic.org/ocp/ocp-0.2.100.tar.xz"
|
DOWNLOAD="https://stian.cubic.org/ocp/ocp-0.2.106.tar.xz"
|
||||||
MD5SUM="820e58656f1c46ea1acd6564b3c48589"
|
MD5SUM="b0f5fba18a4b72ea3d0e86143e77593d"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="gnu-unifont xa cJSON"
|
REQUIRES="gnu-unifont xa cJSON ancient"
|
||||||
MAINTAINER="SPN Team"
|
MAINTAINER="SPN Team"
|
||||||
EMAIL="pwmn-master@hotmail.com"
|
EMAIL="pwmn-master@hotmail.com"
|
||||||
|
|
Loading…
Reference in a new issue