1 # Contributor: Slash <demodevil5 [at] yahoo [dot] com>
6 pkgdesc="Classic Doom: Doom 1 shareware episode maps recreated for use with Doom 3."
7 url="http://cdoom.d3files.com/"
12 # Download: http://files.filefront.com/classic+doom+3+131zip/;9003559;/fileinfo.html
13 source=('classic_doom_3_1.3.1.zip' 'doom3-cdoom.desktop' 'doom3-cdoom.launcher')
14 md5sums=('7dc67da1a4007e85014de566283d1a41'
15 'fe84fee23843eac65cecdf3e76414184'
16 'bfb9b58d9f2ed85839472848ecfd5a30')
21 # Create Destination Directories
22 install -d $startdir/pkg/{usr/bin/,opt/doom3/}
24 # Remove Unneeded Files
25 rm $startdir/src/cdoom/{*.url,*.bat}
28 mv $startdir/src/cdoom/cdoom.ico $startdir/src/doom3-cdoom.ico
31 mv $startdir/src/cdoom/docs/License.txt $startdir/src/License.txt
33 # Move Data to Destination Directory
34 mv $startdir/src/cdoom $startdir/pkg/opt/doom3/
36 # Install Launcher (Client)
37 install -D -m 755 $startdir/src/doom3-cdoom.launcher \
38 $startdir/pkg/usr/bin/doom3-cdoom
41 install -D -m 644 $startdir/src/License.txt \
42 $startdir/pkg/usr/share/licenses/$pkgname/License.txt
45 install -D -m 644 $startdir/src/doom3-cdoom.ico \
46 $startdir/pkg/usr/share/pixmaps/doom3-cdoom.ico
48 # Install Desktop File
49 install -D -m 644 $startdir/src/doom3-cdoom.desktop \
50 $startdir/pkg/usr/share/applications/doom3-cdoom.desktop