# Maintainer: Erich Eckner # Contributor: Eric Bailey pkgname=nyan-lang-git pkgver=r293.19e742a pkgrel=1 pkgdesc="A data description language designed for openage" arch=('i486' 'i686' 'pentium4' 'x86_64') url="https://github.com/SFTtech/nyan" license=('LGPL3') _pinned_dependencies=( 'gcc-libs=14.2.1+r134+gab884fffe3fc' 'glibc>=2.37' ) depends=("${_pinned_dependencies[@]}") makedepends=('cmake' 'git') provides=('nyan-lang') conflicts=('nyan-lang') source=("$pkgname::git+https://github.com/SFTtech/nyan") sha512sums=('SKIP') pkgver() { cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "$srcdir/$pkgname" mkdir -p build } build() { cd "$srcdir/$pkgname/build" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release .. make } package() { cd "$srcdir/$pkgname/build" make DESTDIR="$pkgdir/" install }