updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vegastrike-data / PKGBUILD
blobe280f0c1529b867b31d71f0ccffbb9aa640cbb2c
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
4 pkgname=vegastrike-data
5 _pkgname=vegastrike
6 pkgver=0.5.1beta1
7 _pkgver=0.5.1.beta1
8 pkgrel=1
9 pkgdesc="3D action-space-sim allowing player to trade and bounty hunt in a vast universe (data files)"
10 arch=('any')
11 license=('GPL')
12 url="http://vegastrike.sourceforge.net/"
13 depends=('desktop-file-utils')
14 source=(http://downloads.sourceforge.net/${_pkgname}/${pkgname}-${_pkgver}-2.tar.bz2
15         http://downloads.sourceforge.net/${_pkgname}/vegastrike-speech-${_pkgver}.tar
16         http://downloads.sourceforge.net/${_pkgname}/vegastrike-music-${_pkgver}.tar
17         http://downloads.sourceforge.net/${_pkgname}/vegastrike-extra-${_pkgver}.tar.bz2)
18 md5sums=('c62ee0c03b17400d406e78a2215d1ad0'
19          '1b7e01facf46079d4b30dd2f7659629d'
20          '77d1b8da741f0f9cf35357ce806d7fac'
21          'f896f680b35c28818a98d928bdc651f0')
23 build() {
24   cd ${srcdir}
27 package() {
28   # place data files
29   install -d ${pkgdir}/usr/share/${_pkgname}/
30   cp -rf ${srcdir}/${_pkgname}-data-${_pkgver}/* ${pkgdir}/usr/share/${_pkgname}/
31   cp -rf ${srcdir}/${_pkgname}-extra-${_pkgver}/* ${pkgdir}/usr/share/${_pkgname}/
32   cp -rf ${srcdir}/${_pkgname}-music-${_pkgver}/* ${pkgdir}/usr/share/${_pkgname}/
33   cp -rf ${srcdir}/${_pkgname}-speech-${_pkgver}/* ${pkgdir}/usr/share/${_pkgname}/
35   # install man page, .desktop file and icon
36   install -D -m644 ${pkgdir}/usr/share/${_pkgname}/documentation/${_pkgname}.1 \
37     ${pkgdir}/usr/share/man/man1/${_pkgname}.1
38   #install -D -m644 ${pkgdir}/usr/share/${_pkgname}/${_pkgname}.desktop \
39   #  ${pkgdir}/usr/share/pixmaps/${_pkgname}.desktop
40   install -D -m644 ${pkgdir}/usr/share/${_pkgname}/${_pkgname}.xpm \
41     ${pkgdir}/usr/share/pixmaps/${_pkgname}.xpm