From b0e8d65b2698f97335dcb16788c98feebac2691e Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 7 May 2020 00:35:08 -0700 Subject: Initial commit --- PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8a9c97a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# 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') +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 +} -- cgit v1.2.1