summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f05ef85e953ca44b7a5dbb025946fdd1e9c5dc9 (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
# Maintainer: Abheek Dhawan <abheekd at protonmail dot com>

pkgname="wwise-audio-tools-git"
pkgver="0.5.0"
pkgrel=1
pkgdesc="Tools for working with Wwise file types (only extraction at the moment)"
arch=("x86_64")
url="https://github.com/WolvenKit/wwise-audio-tools"
license=("MIT")
makedepends=("cmake" "ninja" "git")
source=("git+https://github.com/WolvenKit/wwise-audio-tools")
sha512sums=("SKIP")

prepare() {
	cd "${srcdir}/wwise-audio-tools"
	git submodule update --init
}

build() {
	cmake -G "Ninja" -B build -S "${srcdir}/wwise-audio-tools" \
		-DCMAKE_INSTALL_PREFIX="/usr" \
		-Wno-dev
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" PREFIX="usr" cmake --install build
}