milis/talimatname/genel/fortune/talimat

35 lines
1.0 KiB
Plaintext

# Description: Display a random fortune
# URL: http://www.ibiblio.org/pub/Linux/games/amusements/fortune/
# Packager: milisarge
# Depends on:
name=fortune
version=0.2
release=1
source=(http://www.ibiblio.org/pub/Linux/games/amusements/$name/$name-$version.tar.gz \
$name-$version.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)
build(){
local cookie
cd $name-$version
patch -p1 < ../$name-$version.patch
make
mkdir -p $PKG/usr/{bin,man/man6,share/games/fortunes}
install -m 755 $name $PKG/usr/bin/$name
install -m 644 debian/$name.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
}