milis/talimatname/genel/f/fortune/talimat

36 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Fortune, eğlenceli olması amaçlanan rastgele kısa mesajlar görüntüler.
# URL: http://www.ibiblio.org/pub/Linux/games/amusements/fortune/
# Paketçi: milisarge
# Gerekler:
# Grup: oyun
isim=fortune
surum=0.2
devir=1
kaynak=(http://www.ibiblio.org/pub/Linux/games/amusements/$isim/$isim-$surum.tar.gz \
$isim-$surum.patch \
http://crux.nu/~tek/fortune_big.zip \
http://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-simpsons-chalkboard.tgz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-discworld.tgz \
http://crux.nu/files/distfiles/fortune-mod-prog-style.tar.gz)
derle(){
local cookie
cd $isim-$surum
patch -p1 < ../$isim-$surum.patch
make
mkdir -p $PKG/usr/{bin,man/man6,share/games/fortunes}
install -m 755 $isim $PKG/usr/bin/$isim
install -m 644 debian/$isim.6 $PKG/usr/man/man6/
cd $SRC
for cookie in */prog-style */discworld */chalkboard */kernelcookies fortune
do
install -m 644 $cookie $PKG/usr/share/games/fortunes/
done
}