# Contributor: Ralf Rachinger # Maintainer: Ralf Rachinger # *Inspired* by https://github.com/archlinux/svntogit-community/blob/794c98925b4cc2684d067b7142710ae84bd80d21/trunk/PKGBUILD pkgname=premake pkgver=5.0.0_alpha16 _ver=5.0.0-alpha16 pkgrel=0 pkgdesc="Simple build configuration and project generation tool" url="https://premake.github.io" arch="all" license="BSD-3-Clause" source=" https://github.com/premake/premake-core/releases/download/v$_ver/premake-$_ver-src.zip 0001-Change-Test-FindLibrary-to-libc.patch " builddir="$srcdir/premake-$_ver-src" build() { make -C "$builddir/build/gmake2.unix" config=release } check() { bin/release/premake5 test } package() { install -Dm755 bin/release/premake5 "$pkgdir"/usr/bin/premake5 install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"/LICENSE } sha512sums=" 2b869da4eb0487405289e2274fc8feefa02fb543559e43f2c2c9e869f701a40d78cfc135f679fa00554f2993a5511c8d740a8fe5576914ba8dc8636b75736b5c premake-5.0.0-alpha16-src.zip 7b5e7f51b1f927532b8ef655d82954b357ac992644c6abb90d44dad33a60242f49cd7482bf521c16c1b7cc6df96fd35d65c3c2dc041984683b7dc79062e9674d 0001-Change-Test-FindLibrary-to-libc.patch "