summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e739db48e198ff20438319f1b8d914f4b9125e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Markus Pargmann <scosu@gmx.de>
# Contrinutor: Anton Leontiev <scileont /at/ gmail.com>

pkgname=pmars
pkgver=0.9.2
pkgrel=2
pkgdesc="Reference implementation of Corewar game"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/corewar/"
license=('GPL2')
depends=(libx11)
source=(http://downloads.sourceforge.net/project/corewar/pMARS/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('a73943a34e9de8f0d3028fc4566cd558')

build() {
	cd pmars-$pkgver/src
	make
}

package() {
	cd $pkgname-$pkgver/src
	install -D -m 0755 pmars "$pkgdir/usr/bin/pmars"
}