mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/stills2dv: Fixed VERSION (tr - _) and DOWNLOAD
Thanks to B. Watson for the report wrt VERSION strings Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
bc505523e6
commit
a12bd209de
2 changed files with 13 additions and 12 deletions
|
@ -5,11 +5,12 @@
|
|||
# This is hereby put in the public domain
|
||||
|
||||
PRGNAM=stills2dv
|
||||
VERSION=alpha-0.601
|
||||
VERSION2=alpha_0.601
|
||||
VERSION=alpha_0.601
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCVER=$(printf $VERSION | tr _ -)
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -44,9 +45,9 @@ set -eu
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tgz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tgz
|
||||
cd $PRGNAM-$SRCVER
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
|
@ -67,13 +68,13 @@ cp -a Makefile README.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
cp -a Documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
|
||||
cp -a exampleworkfile.s2d $PKG/usr/share/$PRGNAM-$VERSION
|
||||
cp -ar example_data_files $PKG/usr/share/$PRGNAM-$VERSION
|
||||
rm -rf $PKG/usr/share/$PRGNAM-$VERSION/example_data_files/tmp
|
||||
mkdir -p $PKG/usr/share/$PRGNAM-$SRCVER
|
||||
cp -a exampleworkfile.s2d $PKG/usr/share/$PRGNAM-$SRCVER
|
||||
cp -ar example_data_files $PKG/usr/share/$PRGNAM-$SRCVER
|
||||
rm -rf $PKG/usr/share/$PRGNAM-$SRCVER/example_data_files/tmp
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION2-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="stills2dv"
|
||||
VERSION="alpha-0.601"
|
||||
VERSION="alpha_0.601"
|
||||
HOMEPAGE="http://www.deniscarl.com/stills2dv/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/stills2dv/files/stills2dv/stills2dv-alpha-0.601.tgz/download"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/stills2dv/stills2dv-alpha-0.601.tgz"
|
||||
MD5SUM="8ed69f48d5af651aa70940e64b39c854"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue