Skip to content

Instantly share code, notes, and snippets.

@Kwarf
Created March 13, 2017 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kwarf/3a48a6cf85a2c632c15d30de8f9dde64 to your computer and use it in GitHub Desktop.
Save Kwarf/3a48a6cf85a2c632c15d30de8f9dde64 to your computer and use it in GitHub Desktop.
# Maintainer: Jimmy Bergstrom <thekwarf@gmail.com>
_pkgname=ghostly
pkgname=$_pkgname-git
pkgver=r301.7846400
pkgrel=1
pkgdesc="Compocase for the AI programming competition at The Gathering 2017"
arch=('i686' 'x86_64')
url="https://github.com/sandsmark/aicompo-tg17"
license=('unknown')
depends=('qt5-declarative')
source=('git+https://github.com/sandsmark/aicompo-tg17.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/aicompo-tg17"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/aicompo-tg17"
qmake
make
}
package() {
cd "${srcdir}/aicompo-tg17"
install -m755 -D ghostly "${pkgdir}/usr/bin/ghostly"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment