diff options
author | Erik Hanson <erik@slackbuilds.org> | 2020-05-12 00:28:06 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-16 08:44:20 +0700 |
commit | bd78e19b1a115d42f6f3f5690d6eca98fd26fab9 (patch) | |
tree | ee54b466e52ea5daa1ea21ed9e81e224199c48ed /audio | |
parent | 9c87c39c3931301a98fb70cde283506333f7a937 (diff) | |
download | slackbuilds-bd78e19b1a115d42f6f3f5690d6eca98fd26fab9.tar.gz |
audio/ocp: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ocp/doinst.sh | 3 | ||||
-rw-r--r-- | audio/ocp/ocp.SlackBuild | 18 | ||||
-rw-r--r-- | audio/ocp/ocp.info | 6 |
3 files changed, 13 insertions, 14 deletions
diff --git a/audio/ocp/doinst.sh b/audio/ocp/doinst.sh index 4a25de5e6f..63bf9ce82c 100644 --- a/audio/ocp/doinst.sh +++ b/audio/ocp/doinst.sh @@ -8,3 +8,6 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi +if [ -x /usr/bin/install-info ]; then + chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/ocp.info.gz 2> /dev/null +fi diff --git a/audio/ocp/ocp.SlackBuild b/audio/ocp/ocp.SlackBuild index 523d4638c8..eeef8745b6 100644 --- a/audio/ocp/ocp.SlackBuild +++ b/audio/ocp/ocp.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for Open Cubic Player # -# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2020 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ocp -VERSION=${VERSION:-0.1.21} +VERSION=${VERSION:-0.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,9 +69,6 @@ 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 {} \; -sed -i "s/0.1.20/0.1.21/g" configure -sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*)" configure - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -81,18 +78,17 @@ CFLAGS="$SLKCFLAGS" \ --infodir=/usr/info \ --build=$ARCH-slackware-linux -make -j1 +make # -j1 make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -mv $PKG/usr/share/ocp/ultradir $PKG/usr/share/$PRGNAM-$VERSION -rmdir $PKG/usr/share/ocp - rm -f $PKG/usr/info/dir -mv $PKG/usr/share/doc $PKG/usr +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/doc/ocp $PKG/usr/doc/$PRGNAM-$VERSION +rmdir $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/ocp/ocp.info b/audio/ocp/ocp.info index 73d7280623..2832ca4e7a 100644 --- a/audio/ocp/ocp.info +++ b/audio/ocp/ocp.info @@ -1,8 +1,8 @@ PRGNAM="ocp" -VERSION="0.1.21" +VERSION="0.2.1" HOMEPAGE="http://stian.cubic.org/project-ocp.php" -DOWNLOAD="http://downloads.sourceforge.net/opencubicplayer/ocp-0.1.21.tar.bz2" -MD5SUM="558a6eacfadfd9c60c97a6e9c7f83f47" +DOWNLOAD="https://stian.cubic.org/ocp/ocp-0.2.1.tar.xz" +MD5SUM="c50fa1649b4dc3331c13fbe470f147d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |