35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# 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:
|
||
|
||
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
|
||
}
|