wok-next view eduke32-shareware-data/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="eduke32-shareware-data"
4 VERSION="1.3d"
5 CATEGORY="games"
6 SHORT_DESC="Duke Nukem 3D shareware episode for EDuke32"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="shareware"
9 WEB_SITE="https://3drealms.com/catalog/duke-nukem-3d_27/"
10 HOST_ARCH="any"
12 TARBALL="3dduke13.zip"
13 WGET_URL="ftp://ftp.3drealms.com/share/$TARBALL"
15 compile_rules() {
16 rm LICENSE.TXT # or unzip will ask interactively to replace it
17 unzip "DN3DSW13.SHR"
19 # convert to lowercase
20 for i in $(find . -type f); do
21 mv $i $(echo $i | tr '[:upper:]' '[:lower:]')
22 done
24 dos2unix ultramid.ini
26 mv readme.doc readme.txt
27 cook_pick_docs readme.txt
29 mkdir -p $install/usr/share/games/eduke32/
30 cp *.con *.dmo license.txt duke.rts duke3d.grp modem.pck ultramid.ini \
31 $install/usr/share/games/eduke32/
32 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="eduke32"
38 }