blob: effac88daadecc6cf83b9114987b066aaa48cad2 (
plain)
1 # Description: Display a random fortune
2 # URL: http://www.ibiblio.org/pub/Linux/games/amusements/fortune/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: Daniel Mueller, daniel at danm dot de
5
6 name=fortune
7 version=0.2
8 release=6
9 source=(http://www.ibiblio.org/pub/Linux/games/amusements/$name/$name-$version.tar.gz \
10 $name-$version.patch \
11 http://crux.nu/~tek/fortune_big.zip \
12 http://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
13 http://www.splitbrain.org/_media/projects/fortunes/fortune-simpsons-chalkboard.tgz \
14 http://www.splitbrain.org/_media/projects/fortunes/fortune-discworld.tgz \
15 http://crux.nu/files/distfiles/fortune-mod-prog-style.tar.gz)
16
17 build(){
18 local cookie
19 cd $name-$version
20
21 patch -p1 < ../$name-$version.patch
22 make
23
24 mkdir -p $PKG/usr/{bin,share/man/man6,share/games/fortunes}
25
26 install -m 755 $name $PKG/usr/bin/$name
27 install -m 644 debian/$name.6 $PKG/usr/share/man/man6/
28
29 cd $SRC
30 for cookie in */prog-style */discworld */chalkboard */kernelcookies fortune
31 do
32 install -m 644 $cookie $PKG/usr/share/games/fortunes/
33 done
34 }
|