# $Id: PKGBUILD 93585 2013-07-06 13:15:41Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=spring-kp
pkgver=4.5
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=('0fabf3ae2bbe6a5e3f0213c100c8213e')

package() {
  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:
