diff options
-rw-r--r-- | multimedia/stills2dv/stills2dv.SlackBuild | 21 | ||||
-rw-r--r-- | multimedia/stills2dv/stills2dv.info | 4 |
2 files changed, 13 insertions, 12 deletions
diff --git a/multimedia/stills2dv/stills2dv.SlackBuild b/multimedia/stills2dv/stills2dv.SlackBuild index 2e83f94886..685b23a174 100644 --- a/multimedia/stills2dv/stills2dv.SlackBuild +++ b/multimedia/stills2dv/stills2dv.SlackBuild @@ -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} diff --git a/multimedia/stills2dv/stills2dv.info b/multimedia/stills2dv/stills2dv.info index e67a8bc095..177687d75f 100644 --- a/multimedia/stills2dv/stills2dv.info +++ b/multimedia/stills2dv/stills2dv.info @@ -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="" |