# Maintainer: Jesus E. pkgname=premake pkgver=5.0beta1 _pkgver=5.0.0-beta1 pkgrel=1 pkgdesc="A simple build configuration and project generation tool" arch=('i686' 'x86_64') url='https://premake.github.io/' license=('Modified-BSD') depends=('glibc') source=("https://github.com/premake/premake-core/releases/download/v${_pkgver}/premake-${_pkgver}-src.zip") sha512sums=('4745cfa796f3f7616b96c2541bca54ba91ef53310cd3a8b9891fcb22170b1b68ebe245471aa63d82fbd94a50643ddf468b66c85e32c1ce214cf5c65b5da27e62') build() { cd "premake-$_pkgver-src/build/gmake2.unix" make config=release } package() { cd "premake-$_pkgver-src" install -Dm755 "bin/release/premake5" "${pkgdir}/usr/bin/premake5" install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname" }