milis/talimatname/genel/f/fortune/talimat

35 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Fortune, eğlenceli olması amaçlanan rastgele kısa mesajlar görüntüler.
2016-12-11 21:27:09 +01:00
# URL: http://www.ibiblio.org/pub/Linux/games/amusements/fortune/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-12-11 21:27:09 +01:00
2017-10-28 14:10:23 +02:00
isim=fortune
surum=0.2
devir=1
kaynak=(http://www.ibiblio.org/pub/Linux/games/amusements/$isim/$isim-$surum.tar.gz \
$isim-$surum.patch \
2016-12-11 21:27:09 +01:00
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)
2017-10-27 23:59:41 +02:00
derle(){
2016-12-11 21:27:09 +01:00
local cookie
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-12-11 21:27:09 +01:00
2017-10-28 14:10:23 +02:00
patch -p1 < ../$isim-$surum.patch
2016-12-11 21:27:09 +01:00
make
mkdir -p $PKG/usr/{bin,man/man6,share/games/fortunes}
2017-10-28 14:10:23 +02:00
install -m 755 $isim $PKG/usr/bin/$isim
install -m 644 debian/$isim.6 $PKG/usr/man/man6/
2016-12-11 21:27:09 +01:00
cd $SRC
for cookie in */prog-style */discworld */chalkboard */kernelcookies fortune
do
install -m 644 $cookie $PKG/usr/share/games/fortunes/
done
}