# Maintainer: Gokberk Yaltirakli pkgname=nothing _pkgname=nothing pkgver=r2509.5053d9c pkgrel=1 epoch= pkgdesc="A game about nothing" arch=('x86_64') url="https://github.com/tsoding/nothing" license=('MIT') depends=('sdl2') makedepends=('gcc' 'cmake') provides=('nothing') conflicts=('nothing') source=("nothing::git+$url") sha512sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" ( set -o pipefail git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } prepare() { cd "$srcdir/$_pkgname" # No patches needed for now } build() { cd "$srcdir/$_pkgname" rm -rf build mkdir build cd build cmake .. make cat > "nothing-with-dir" <