Created
March 13, 2017 18:21
-
-
Save Kwarf/3a48a6cf85a2c632c15d30de8f9dde64 to your computer and use it in GitHub Desktop.
PKGBUILD for https://github.com/sandsmark/aicompo-tg17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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