summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark2019-07-16 06:50:56 +0200
committerMartin T. H. Sandsmark2019-07-16 07:22:45 +0200
commitc9300c660d4ef89f3e243925fb32162b14359d6c (patch)
tree62ab32cf9e24b740003ccc2a599761f54997770b /PKGBUILD
downloadaur-droidbattles-git.tar.gz
inital import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5b979e659e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
+
+pkgname=droidbattles-git
+pkgver=r147.8e47dfe
+pkgrel=1
+pkgdesc='A programming game where you program bots in assembly'
+arch=('i686' 'x86_64')
+url='https://github.com/sandsmark/droidbattles'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('qt5-base')
+conflicts=(droidbattles)
+provides=(droidbattles)
+source=('git://github.com/sandsmark/droidbattles.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd droidbattles
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd droidbattles
+ qmake
+ make
+}
+
+package() {
+ cd droidbattles
+ make INSTALL_ROOT="$pkgdir" install
+ install -vDm 644 {AUTHORS,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+}