# $Id: PKGBUILD 29025 2010-10-08 19:59:39Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=spring-kp
pkgver=4.4
pkgrel=1
pkgdesc="Kernel Panic is a mod about computers. Bits and bytes wage war in a matrix of DOOM! The only resources are time and space, there is no metal or energy economy in KP."
arch=(any)
url="http://springrts.com/wiki/Kernel_Panic"
license="custom:publicdomain"
depends=('spring')
source=("http://springfiles.com/sites/default/files/downloads/spring/games/kernel_panic_${pkgver}.zip")
md5sums=('f5192655b8a3e53e24c6a54bb47d0fc0')

build() {
  mkdir -p $pkgdir/usr/share/spring/maps
  mkdir -p $pkgdir/usr/share/spring/mods
  cp -r $srcdir/maps/* $pkgdir/usr/share/spring/maps/
  cp -r $srcdir/games/* $pkgdir/usr/share/spring/mods/
  install -Dm644 $srcdir/Kernel_Panic_readme.txt $pkgdir/usr/share/doc/$pkgname/README
}

# vim: sw=2:ts=2 et:
