games/fortune-dune: Switch to github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
66c00df044
commit
1df524395d
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue