3 pkgname=etxreal-etfiles
6 pkgdesc="Enemy Territory's files needed by ET:XreaL"
8 url="http://www.moddb.com/mods/etxreal"
9 license=('custom: enemy territory')
10 source=(http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/linux/et-linux-$pkgver.x86.run)
11 md5sums=('2d2373f29f02e18d365d7f1860eee435')
15 chmod +x et-linux-$pkgver.x86.run
16 ./et-linux-2.60.x86.run --noexec --target $srcdir
23 # create destination directories
24 install -d $pkgdir/usr/share/etxreal/etmain
25 install -d $pkgdir/usr/share/licenses/$pkgname
26 install -d $pkgdir/usr/share/pixmaps
28 # copy enemy-territory's pk3 files
29 install -Dm 644 etmain/{pak0,pak1,pak2}.pk3 $pkgdir/usr/share/etxreal/etmain
31 # install enemy territory license
32 install -Dm 644 Docs/EULA_Wolfenstein_Enemy_Territory.txt $pkgdir/usr/share/licenses/$pkgname
35 install -Dm 644 ET.xpm $pkgdir/usr/share/pixmaps/etxreal.xpm
39 # vim:set ts=2 sw=2 et: