wok-next view rogue/receipt @ rev 21438
updated rogue (5.4.4 -> 5.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 15:41:43 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children | 188ffd8238e9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rogue"
4 VERSION="5.4.5"
5 CATEGORY="non-free"
6 SHORT_DESC="The classic dungeon exploration game"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://web.archive.org/web/20160604020207/http://rogue.rogueforge.net/"
11 TARBALL="$PACKAGE$VERSION-src.tar.gz"
12 WGET_URL="http://rogue.rogueforge.net/files/rogue${VERSION%.*}/$TARBALL" # FIXME
14 BUILD_DEPENDS="ncurses-dev"
16 compile_rules()
17 {
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-wizardmode \
22 --enable-scorefile=/usr/games/rogue.scr \
23 --enable-lockfile=/var/lock/rogue.lck \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/rogue
32 mkdir -p $fs/usr/games
33 mkdir -p $fs/usr/share/licenses
34 mkdir -p $fs/usr/share/pixmaps
35 mkdir -p $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/games/rogue.scr $fs/usr/games/
39 chmod 666 $fs/usr/games/rogue.scr
40 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT \
41 $fs/usr/share/licenses/rogue.txt
42 cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html \
43 $fs/usr/share/rogue
44 cp -a $src/rogue.png $fs/usr/share/pixmaps
45 sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
46 cp -a $src/rogue.desktop $fs/usr/share/applications
48 DEPENDS="ncurses"
49 }