# Maintainer: Luke R. GPG: rsa4096/3EAE8697 pkgname=castle-combat pkgver=0.8.1 pkgrel=2 pkgdesc="Clone of the old arcade game Rampart. Build castle walls, place cannons inside these walls, and shoot at the walls the enemy(s)." arch=('x86_64' 'i686') url="http://www.linux-games.com/castle-combat/" license=('GPL2') depends=('sdl' 'sdl_mixer' 'sdl_image') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") sha512sums=('c6350f95b82638a9da9a45cb0c995dcc7bf1fbd2f6e0d5f58347d73f9f3131697328e7e78cf08bb8c50d4f73eb754cc40c3680e76177f9f46f3a353c8768251a') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin make } package() { cd $pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin make DESTDIR="$pkgdir/" install }