diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2014-07-07 01:57:08 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-17 17:00:58 +0700 |
commit | 9a5607992d95a57771583dbde07eeb879e237a4a (patch) | |
tree | d5fba688089ea00d4b38a960671e85683cd571f7 /multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild | |
parent | f94cdebc71eea35390c7be581a93208e59c6e53e (diff) | |
download | slackbuilds-9a5607992d95a57771583dbde07eeb879e237a4a.tar.gz |
multimedia/mplayer-codecs64: Fixed VERSION string
Basically, the "essential" tarball contained dupes of what is
already in the other (earlier-dated) archive, so it is a useless
download that merely confuses the VERSION. This appears to be
a downgrade, but in reality it's just a correction to what was
already being packaged.
Thanks to elseifthen <elseifthen@gmx.com> for the note with a
good explanation - much appreciated.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild')
-rw-r--r-- | multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild index 1eb2ef6d57..2f5fd6380a 100644 --- a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild +++ b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild @@ -23,12 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mplayer-codecs64 -VERSION=20071007 +VERSION=20061022 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -RPMVERS="20061022" - case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; @@ -60,19 +58,17 @@ cd $TMP mkdir -p $PKG/usr/lib64/codecs cd $PKG - rpm2cpio < $CWD/mplayer-codecs-${RPMVERS}-1.${ARCH}.rpm | cpio -imdv - rpm2cpio < $CWD/mplayer-codecs-extra-${RPMVERS}-1.${ARCH}.rpm | cpio -imdv + rpm2cpio < $CWD/mplayer-codecs-${VERSION}-1.${ARCH}.rpm | cpio -imdv + rpm2cpio < $CWD/mplayer-codecs-extra-${VERSION}-1.${ARCH}.rpm | cpio -imdv cd - 1>/dev/null -tar xf $CWD/essential-amd64-${VERSION}.tar.bz2 -cp -a essential-amd64-${VERSION}/* $PKG/usr/lib64/codecs -rm -rf $PKG/usr/share find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mv $PKG/usr/lib64/codecs/README $PKG/usr/doc/$PRGNAM-$VERSION/README +mv $PKG/usr/share/doc/*/README $PKG/usr/doc/$PRGNAM-$VERSION/README +rm -rf $PKG/usr/share mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |