summaryrefslogtreecommitdiff
path: root/pcr/castle-combat
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-10-08 21:02:14 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-10-08 21:02:14 -0400
commit8da826de54ae9a8bf2cad3df94a42e21d95eed4d (patch)
tree781b56e241a1ac3a04afd5de07cce665d2aabd79 /pcr/castle-combat
parentc1e60f2942a501b968ac81e89a733c00d55bac16 (diff)
downloadabslibre-8da826de54ae9a8bf2cad3df94a42e21d95eed4d.tar.gz
abslibre-8da826de54ae9a8bf2cad3df94a42e21d95eed4d.tar.bz2
abslibre-8da826de54ae9a8bf2cad3df94a42e21d95eed4d.zip
castle-combat
Diffstat (limited to 'pcr/castle-combat')
-rw-r--r--pcr/castle-combat/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/castle-combat/PKGBUILD b/pcr/castle-combat/PKGBUILD
new file mode 100644
index 000000000..7186914a0
--- /dev/null
+++ b/pcr/castle-combat/PKGBUILD
@@ -0,0 +1,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
+}