1 # Maintainer: Dmitrij D. Czarkoff <czarkoff@gmail.com>
2 # Contributor: Anton Bazhenov <anton.bazhenov@gmail.com>
3 # Contributor: Christoph Zeiler <rabyte@gmx.dot.org>
4 # Contributor: Adrián Chaves Fernández aka Gallaecio <adriyetichaves@gmail.com>
9 pkgdesc="A free, turn-based strategy game in spirit of Warlords II"
10 arch=('i686' 'x86_64')
11 url="http://www.nongnu.org/lordsawar/"
13 depends=('gtkmm' 'sdl_mixer')
14 makedepends=('pkgconfig' 'gettext' 'intltool' 'libtar' 'boost')
15 conflicts=('lordsawar-svn')
17 install="lordsawar.install"
18 source=("http://download.savannah.gnu.org/releases-noredirect/${pkgname}/${pkgname}-${pkgver}.tar.gz"
19 "lordsawar-editor.desktop"
20 "lordsawar-editor-32.png"
21 "lordsawar-editor-64.png")
22 md5sums=('06772b3fe86fd5af6d54fd6474b77487'
23 '0927bb356c8c184cad13761012f6ad92'
24 '063de7530fe208f22037371f5a103b86'
25 '8c4baee495aa55e5e250dd735ff0b8ba')
28 cd "${srcdir}/${pkgname}-${pkgver}"
30 # You may want to append to "./configure":
31 # don't compile editor
33 # don't compile play-by-mail
35 # don't compile game list server
37 # don't compile game host server
39 # zip save files (experimental)
44 --disable-sdltest || return 1
49 install -m 644 -D "${srcdir}/lordsawar-editor.desktop" "${pkgdir}/usr/share/applications/lordsawar-editor.desktop"
50 install -m 644 -D "${srcdir}/lordsawar-editor-32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/lordsawar-editor.png"
51 install -m 644 -D "${srcdir}/lordsawar-editor-64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/lordsawar-editor.png"
52 cd "${srcdir}/${pkgname}-${pkgver}"
53 make DESTDIR="${pkgdir}/" install || return 1
54 rm -r ${pkgdir}/usr/share/gnome