1 # Contributor: xnitropl <xnitropl at gmail dot com>
2 # Contributor: diffycat
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/'
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"
17 md5sums=('145090c391a4c843500bde399b19ba9b'
18 '8d0634b0962ad621a7608378d7172e02'
19 'd331afa30e60d39ae3b7dafa50e39d4d')
22 cd "${srcdir}/${pkgname}-${pkgver}"
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: