updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / everborn / PKGBUILD
blobde97662fdffce5db57631441f972c3cc898887c0
1 # Contributor: rabyte <rabyte__gmail>
3 pkgname=everborn
4 pkgver=20080724
5 pkgrel=1
6 pkgdesc="A Master Of Magic Multiplayer Clone with real-time combat"
7 arch=('i686')
8 url="http://everborn.sourceforge.net/"
9 license=('GPL2')
10 depends=('sdl_mixer' 'libgl' 'gcc-libs' 'libpng')
11 source=(http://everborn.sourceforge.net/everborn_gal${pkgver}src.tar.bz2 \
12         http://everborn.sourceforge.net/everborn_gal20080723data.tar.bz2 \
13         Makefile.diff \
14         $pkgname.sh)
15 md5sums=('ce29558b0e1ca63b66b34a070be75d24'
16          '4165d4fba7c2c97b32b0d8ead0a3966a'
17          '26593fd7c20e85483c12db7e9d7cc0fd'
18          '1537fa5c99f50d829714ad0d82ca8947')
20 build() {
21   cd $srcdir/$pkgname
23   patch -Np0 -i ../Makefile.diff || return 1
24   make || return 1
26   install -m755 -D $pkgname $pkgdir/usr/share/$pkgname/$pkgname
27   cp -rf *.game *.png *.raz $pkgdir/usr/share/$pkgname/
28   install -m755 -D ../$pkgname.sh $pkgdir/usr/bin/$pkgname
31 # vim:set ts=2 sw=2 et: