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 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'games/fortune-dune/fortune-dune.SlackBuild') 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 -- cgit v1.2.3