1 # Maintainer: elwin013 <kontakt AT elwin013 DOT com>
2 # Contributor: Jesses <jesse.jaara AT gmail DOT com>
3 # Contributor: Jiri Prochazka <ojirio AT gmail DOT com>
7 pkgdesc="A SVN version of free, open source, Massively Multiplayer Online Role-playing Game (MMORPG)."
9 url="http://www.daimonin.org/"
11 depends=('curl' 'sdl_image' 'sdl_mixer' 'physfs')
12 makedepends=('subversion')
17 md5sums=('3a74c7bdf7aece45d3330c4bf3b18800'
18 '0cebb50075d4f796508293989ad7004b'
19 '7480f31868a20a4bce8fe940adc3c243'
20 '8875cfb85900606ce08c214e303ffc44')
22 _svntrunk=https://daimonin.svn.sourceforge.net/svnroot/daimonin/trunk/client
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
35 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
36 cp Makefile.am $srcdir/$_svnmod-build/make/linux/
38 cd $srcdir/$_svnmod-build/make/linux
40 ./configure --prefix=/usr/share
43 make DESTDIR="${pkgdir}" install
45 mv $pkgdir/usr/share/daimonin $pkgdir/usr/share/daimonin-svn
48 mkdir -p $pkgdir/usr/share/licenses/$pkgname
49 install --mode=644 License $pkgdir/usr/share/licenses/$pkgname/License
50 install --mode=644 media/License\ Note $pkgdir/usr/share/licenses/$pkgname/License\ Note
51 install --mode=644 media/media.txt $pkgdir/usr/share/licenses/$pkgname/media.txt
54 mkdir -p $pkgdir/usr/bin
55 install --mode=755 $pkgname $pkgdir/usr/bin/
56 mkdir $pkgdir/usr/share/applications
57 mkdir $pkgdir/usr/share/pixmaps
58 install --mode=644 $pkgname.desktop $pkgdir/usr/share/applications/
59 install --mode=644 $pkgname.png $pkgdir/usr/share/pixmaps/