From 1df524395d47772a94a4f5631e22dde9b7ac956c Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 4 Jul 2017 21:11:46 -0400 Subject: games/fortune-dune: Switch to github URL. Signed-off-by: B. Watson --- games/fortune-dune/fortune-dune.SlackBuild | 17 ++++++----------- games/fortune-dune/fortune-dune.info | 4 ++-- 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'games/fortune-dune') diff --git a/games/fortune-dune/fortune-dune.SlackBuild b/games/fortune-dune/fortune-dune.SlackBuild index ecd8e4cf28..233ed23cae 100644 --- a/games/fortune-dune/fortune-dune.SlackBuild +++ b/games/fortune-dune/fortune-dune.SlackBuild @@ -20,16 +20,12 @@ OUTPUT=${OUTPUT:-/tmp} set -e -# I am *not* naming my package "fortune-mod-dune-quotes", fortune-dune -# is descriptive enough. -TARNAME=fortune-mod-dune-quotes - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $TARNAME.$VERSION -tar xvf $CWD/$TARNAME.$VERSION.tar.gz -cd $TARNAME.$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -38,7 +34,7 @@ find -L . \ -exec chmod 644 {} \; # Don't trust the prebuilt index files -rm *.dat +rm -f *.dat # The fan base is divided on the "Prequels suck! No, prequels rule!" issue, # so accomodate both sides of the debate. @@ -51,12 +47,11 @@ fi # Also, fix a couple errors where the % delimiter is followed by an # extraneous space (causes adjacent fortunes to be concatenated) mkdir -p $PKG/usr/share/games/fortunes -sed 's/^% */%/' * > $PKG/usr/share/games/fortunes/dune +sed 's/^% */%/' [a-z]* > $PKG/usr/share/games/fortunes/dune ( cd $PKG/usr/share/games/fortunes && strfile dune ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat .message > $PKG/usr/doc/$PRGNAM-$VERSION/message -cat .message.html > $PKG/usr/doc/$PRGNAM-$VERSION/message.html +cp -a LICENSE README.md cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/fortune-dune/fortune-dune.info b/games/fortune-dune/fortune-dune.info index d259c3b838..2b3fd68c1a 100644 --- a/games/fortune-dune/fortune-dune.info +++ b/games/fortune-dune/fortune-dune.info @@ -1,8 +1,8 @@ PRGNAM="fortune-dune" VERSION="2.0.1" HOMEPAGE="https://github.com/lsdr/fortune-dune" -DOWNLOAD="http://distfiles.gentoo.org/distfiles/fortune-mod-dune-quotes.2.0.1.tar.gz" -MD5SUM="5821793a7754ca07a18c5c08656b7371" +DOWNLOAD="https://github.com/lsdr/fortune-dune/archive/2.0.1/fortune-dune-2.0.1.tar.gz" +MD5SUM="68d575d408a350789a866367846b62a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3