updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / 7kaa / PKGBUILD
blob11801362d9fa6ec61f74fd85cd349ff4d808ca09
1 # Contributor: xnitropl <xnitropl at gmail dot com>
2 # Contributor: diffycat
4 pkgname=7kaa
5 pkgver=2.14.3
6 pkgrel=1
7 pkgdesc='Seven Kingdoms, designed by Trevor Chan, brings a mix of RTS like Warcraft 2 and turn-based strategy of Civilization.'
8 url='http://7kfans.com/'
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('openal' 'sdl_net' 'sh' 'gcc-libs')
12 # Dependency 'sdl' provides by 'sdl_net'
13 optdepends=('7kaa-data: original dataset')
14 source=("http://downloads.sourceforge.net/project/skfans/7KAA%20${pkgver}/${pkgname}-source-${pkgver}.tar.bz2"
15         "${pkgname}.sh"
16         "${pkgname}.desktop")
17 md5sums=('145090c391a4c843500bde399b19ba9b'
18          '8d0634b0962ad621a7608378d7172e02'
19          'd331afa30e60d39ae3b7dafa50e39d4d')
21 build() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   ./configure
24   make
27 package() {
28   install -D -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
29   install -D -m644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
31   install -dm755 "${pkgdir}/opt/${pkgname}/"
32   install -D -m755 "${srcdir}/${pkgname}-${pkgver}/src/client/${pkgname}" "${pkgdir}/opt/${pkgname}/${pkgname}"
35 # vim:set ts=2 sw=2 et: