summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84a881d088c9229ed410cc6bf7d4408ce2c8f4e0 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
# Contributor: Thor77 <thor77 at thor77 dot org>
# Contributor (.desktop-file and icon): Nascher <kevin at nascher dot org>

pkgname=goatattack
pkgver=0.5.0
pkgrel=2
pkgdesc='A fast-paced multiplayer pixel art shooter game.'
arch=('i686' 'x86_64')
url='http://www.goatattack.net/'
license=('GPL')
depends=('sdl2' 'libpng' 'sdl2_mixer' 'freetype2')
makedepends=('git')
_commit='9c4a94bf62cce720180c9ed60ee6aa1d4c10a376'
source=("git+https://github.com/$pkgname/$pkgname.git#commit=${_commit}")
sha256sums=('5456f581461df78d28bbdc11cab94ad28e1bbe28cb357bfc911b3bf01433de3b')

prepare() {
	cd "$srcdir/$pkgname"

	autoupdate -f
	autoreconf -if
}

build() {
	cd "$srcdir/$pkgname"
	./configure --prefix=/usr --enable-map-editor --enable-non-free-pak --enable-master-server
	make
}

check() {
	cd "$srcdir/$pkgname"
	make check
}

package() {
	cd "$srcdir/$pkgname"
	make DESTDIR="$pkgdir/" install
}