1 # Contributor: Artiom MOLCHANOV <ar.molchanov@gmail.com>
6 pkgdesc="heXen:Edge of Chaos based on the original Hexen game that was developed by id Software and Raven Software."
7 url="http://www.hexenmod.com"
12 # Download: http://www.moddb.com/downloads/start/27944
13 # or : http://www.moddb.com/mods/hexen-edge-of-chaos/downloads/hexen-edge-of-chaos-demo-release
14 source=('hexen_edge_of_chaos_demo.zip' 'doom3-hexen.desktop' 'doom3-hexen.launcher')
16 md5sums=('a7c51694a2c3bf58840b9e40bb36eb4e'
17 '47fb704d97ff7a84b50ffb930bc3c127'
18 '6a8eebe5e5b86e5cac64438dfdc62e64')
22 find . -type f -exec chmod -x {} \;
23 # Create Destination Directories
24 install -d $startdir/pkg/{usr/bin/,opt/doom3/}
26 # Remove Unneeded Files
27 rm $srcdir/$_src/*.bat
30 mv $srcdir/$_src/Hexen_Icon.ico $srcdir/doom3-hexen.ico
33 mv $srcdir/$_src/LICENSE.TXT $startdir/src/License.txt
35 # Move Data to Destination Directory
36 mv $srcdir/$_src $startdir/pkg/opt/doom3/
38 # Install Launcher (Client)
39 install -D -m 755 $startdir/src/doom3-hexen.launcher \
40 $startdir/pkg/usr/bin/doom3-hexen
43 install -D -m 644 $startdir/src/License.txt \
44 $startdir/pkg/usr/share/licenses/$pkgname/License.txt
47 install -D -m 644 $startdir/src/doom3-hexen.ico \
48 $startdir/pkg/usr/share/pixmaps/doom3-hexen.ico
50 # Install Desktop File
51 install -D -m 644 $startdir/src/doom3-hexen.desktop \
52 $startdir/pkg/usr/share/applications/doom3-hexen.desktop