# Maintainer: Levente Polyak _pkgname=moonlight pkgname=${_pkgname}-git pkgver=0.6.0.383.16fbe17 pkgrel=1 pkgdesc="Open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield" url="http://moonlight-stream.com" arch=('x86_64' 'i686') license=('GPL3') depends=('java-runtime' 'sh') makedepends=('git' 'apache-ant') provides=('moonlight') conflicts=("moonlight") source=(${pkgname}::git+https://github.com/moonlight-stream/moonlight-pc) sha512sums=('SKIP') pkgver() { cd ${pkgname} printf "%s.%s.%s" "$(git describe --tags --abbrev=0|cut -dv -f2)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd ${pkgname} cat > ${_pkgname} <