# Maintainer: jc_gargma # Maintainter (AUR): SlavMetal <7tc@protonmail.com> # # I maintain this because: # Not in an official repo and I use it # AUR version builds from git or binary pkgname=ascii-patrol _exname=asciipat pkgver=1.7 pkgrel=1 pkgdesc="Ascii Patrol is an ASCII game project which was mainly inspired by 'Moon Patrol'." arch=('any') url="https://github.com/msokalski/ascii-patrol" license=('GPL') depends=('libpulse') optdepends=('libxi: to fix problems with no keyboard input in a few GNOME terminals' 'curl: for highscores table support' 'apulse: for alsa support') provides=("${_exname}") conflicts=("${pkgname}-git") source=($pkgname-$pkgver.tar.gz::https://github.com/msokalski/$pkgname/archive/$pkgver.tar.gz) b2sums=('5a7fd15055a9be22a69708356864c2289a20c2ac82709271279ef0fbcf0d808d3a23a037980f0da644e2ad7a03a033b05ac55afd9e77f2cbe8ae982663f45bc3') prepare() { cd $pkgname-$pkgver chmod +x build.sh } build() { cd $pkgname-$pkgver ./build.sh } package() { cd $pkgname-$pkgver mkdir -p "$pkgdir"/usr/bin install -Dm755 "$_exname" "$pkgdir"/usr/bin }