pkgname=revc-git-ugjka pkgver=a16fcd8d pkgrel=1 pkgdesc="Grand Theft Auto: Vice City reverse engineered" arch=('x86_64' 'aarch64') url="https://github.com/halpz/re3/tree/miami" license=('custom:none') depends=('openal' 'glfw' 'mpg123' 'librw-git') makedepends=('cmake') source=( 'git+https://github.com/halpz/re3.git#branch=miami') md5sums=('SKIP') pkgver(){ cd re3 git describe --always --tags|sed 's/.*_//;s/-\(.*\)-g/+r\1./' } build(){ cd re3 cmake -DREVC_VENDORED_LIBRW= . make } package(){ cd re3 install src/reVC -Dt "$pkgdir/usr/share/reVC" cp -r gamefiles/* "$pkgdir/usr/share/reVC" }