summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00d959a1971cb29c0351721e9dff2571de0b8c29 (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
# Maintainer: Milan Toth <milgra@milgra.com>

pkgname=brawl
pkgver=0.8
pkgrel=1
pkgdesc='2D mass brawl simulator'
arch=('i686' 'x86_64')
url='https://github.com/milgra/brawl'
license=('gplv3')
depends=('glew' 'sdl2' 'sdl2_mixer' 'glu' 'freetype2')
makedepends=('meson')
source=(
	"${pkgname}-${pkgver}.tar.xz::https://github.com/milgra/brawl/releases/download/${pkgver}/brawl-${pkgver}.tar.xz"
)

sha256sums=(
	'5e8a2110fe9c1e6cf41b344f9f8a23bda2fce5139e2bcb4923b43f60033b6895'
)

prepare() {
	cd "${pkgname}-${pkgver}"
}

build() {
	mkdir -p build
	arch-meson build "${pkgname}-${pkgver}" --buildtype=release
	ninja -C build
}

package() {
	DESTDIR="${pkgdir}" ninja -C build install
}