summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77b040e46584956bab799dbd6eda4fa4fb32ad4b (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=cortex
pkgver=0.8
pkgrel=1
pkgdesc='The psychedelic tunnel-runner'
arch=('i686' 'x86_64')
url='https://github.com/milgra/cortex'
license=('gplv3')
depends=('glew' 'sdl2' 'sdl2_mixer' 'glu')
makedepends=('meson')
source=(
	"${pkgname}-${pkgver}.tar.xz::https://github.com/milgra/cortex/releases/download/${pkgver}/cortex-${pkgver}.tar.xz"
)

sha256sums=(
	'fa739192a5c0064c2b9762dc69432c398151a835078ee68609b925e71cb47efc'
)

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
}