# Contributor: sp42b <sp42b|a_t|gmx.net>

pkgname=cavez-of-phear
pkgver=0.5.1
pkgrel=1
pkgdesc="A Boulder Dash like game for consoles/terminals. Level editor included."
arch=('i686' 'x86_64')
url="http://www.x86.no/cavezofphear/"
license=('GPL')
depends=('ncurses')
makedepends=()
source=(http://www.x86.no/cavezofphear/phear-$pkgver.tar.bz2)
md5sums=('c9b3751dc52d332aaf04cbed4addf7c1')

build() {
  cd ${srcdir}/phear-$pkgver
  make || return 1
  make DESTDIR_BIN=${pkgdir}/usr/bin DESTDIR_DATA=${pkgdir}/usr/share install
}