summaryrefslogtreecommitdiff
path: root/pcr/castle-combat/PKGBUILD
blob: 7186914a0a1ff348fc39b8405fa571e70032d617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=castle-combat
pkgver=1.6.11
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=('ba41a7fbf3c07149fb6f6cf60091afda9de3c9f8f04e541d7b62ba744b04e5db7eecc5aa2391a71b72ccf6f544d397a5994a6f7aee0907211ced1686fe517646')

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
}