1 #Contributor: Michael Krauss <hippodriver@gmx.net>
2 #old contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
7 pkgdesc="automatic download of data files for lgeneral"
8 url="http://lgames.sourceforge.net/index.php?project=LGeneral"
9 license=('GPL' 'custom') # see lgeneral package
11 arch=('x86_64' 'i686')
12 source=(http://downloads.sourceforge.net/lgeneral/pg-data.tar.gz)
15 # create directory layout for scenario data
16 mkdir -p $startdir/pkg/usr/share/games/lgeneral/{ai_modules,convdata,maps,nations,sounds,themes,campaigns,gfx,music,scenarios,terrain,units}
17 cd $startdir/pkg/usr/share/games/lgeneral
18 mkdir gfx/{flags,terrain,units}
22 lgc-pg -s $startdir/src/pg-data -d $startdir/pkg/usr/share/games/lgeneral
25 md5sums=('40c4be23f60d1dc732aabe13b58fc5e3')