diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f8ae56b0371 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# 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") +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 +} |