updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lgeneral-data / PKGBUILD
blob20d3c913d7fdf930f3adea73dc2e0e9d8b94246b
1 #Contributor: Michael Krauss <hippodriver@gmx.net>
2 #old contributor: Jacek Poplawski <jacekpoplawski@gmail.com> 
4 pkgname=lgeneral-data
5 pkgver=1.2
6 pkgrel=2
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
10 depends=("lgeneral")
11 arch=('x86_64' 'i686')
12 source=(http://downloads.sourceforge.net/lgeneral/pg-data.tar.gz)
14 build() {
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}
19         mkdir themes/default
20         # convert PG data
21         cd $startdir/src
22         lgc-pg -s $startdir/src/pg-data -d $startdir/pkg/usr/share/games/lgeneral
25 md5sums=('40c4be23f60d1dc732aabe13b58fc5e3')