summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9fd1b38cfa14bf1e4df4a84c3e4ee16e4ffaf0a (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: Mikaela RJ Szekely <qyriad@gmail.com>
pkgname=wut-git
_pkgname=wut
pkgver=0.1
pkgrel=1
pkgdesc="A Wii U toolchain/SDK for creating RPX/RPL"
arch=("x86_64")
url="https://github.com/decaf-emu/wut"
license=("GPLv2")
depends=("devkitppc")
makedepends=("cmake" "zlib" "git")
provides=("wut")
source=("git+https://github.com/decaf-emu/wut")
md5sums=("SKIP")
options=("!strip" "!buildflags")

prepare()
{
	cd "$srcdir"
	cd "$_pkgname"
	git submodule update --init --recursive
}

build()
{
	export DEVKITPRO=/opt/devkitpro
	export DEVKITPPC=/opt/devkitpro/devkitPPC
	cd "$srcdir/$_pkgname"
	mkdir build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr ../
	make
}

package()
{
	cd "$srcdir/$_pkgname/build"
	make install
}