diff options
author | B. Watson <yalhcru@gmail.com> | 2017-07-04 21:11:46 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-08 07:11:16 +0700 |
commit | 1df524395d47772a94a4f5631e22dde9b7ac956c (patch) | |
tree | 6741c13ad01d794d91d6047fcf8cf4db46631c42 /games | |
parent | 66c00df044aa06d9076020159ebb9811a05258c7 (diff) |
games/fortune-dune: Switch to github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/fortune-dune/fortune-dune.SlackBuild | 17 | ||||
-rw-r--r-- | games/fortune-dune/fortune-dune.info | 4 |
2 files changed, 8 insertions, 13 deletions
diff --git a/games/fortune-dune/fortune-dune.SlackBuild b/games/fortune-dune/fortune-dune.SlackBuild index ecd8e4cf28853..233ed23cae87d 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 d259c3b838942..2b3fd68c1aff4 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="" |