summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllis Kenyo2015-07-16 02:06:07 +0100
committerEllis Kenyo2015-07-16 02:06:07 +0100
commit4d63b3e7ae49a16950046f0fa97d67fc47447924 (patch)
treef5bd8ccf7972006da78fec890876a4db8dfabec8
downloadaur-4d63b3e7ae49a16950046f0fa97d67fc47447924.tar.gz
Initial
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD29
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e452b40c2b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = projectascension-dev-git
+ pkgdesc = Community-driven open source gaming client
+ pkgver = 0
+ pkgrel = 1
+ url = http://www.projectascension.io
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = cmake
+ depends = boost
+ depends = ninja
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = qt5-webkit
+ source = projectascension::git+https://www.github.com/Proj-Ascension/Client#branch=dev
+ md5sums = SKIP
+
+pkgname = projectascension-dev-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..18b6a3fa7f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Ellis Kenyo <elken at member dot fsf dot org>
+pkgname=projectascension-dev-git
+pkgver=0
+pkgrel=1
+pkgdesc="Community-driven open source gaming client"
+arch=('any')
+url="http://www.projectascension.io"
+license=('MIT')
+depends=('cmake' 'boost' 'ninja' 'qt5-base' 'qt5-declarative' 'qt5-webkit')
+makedepends=('git')
+install=
+source=('projectascension::git+https://www.github.com/Proj-Ascension/Client#branch=dev')
+md5sums=('SKIP')
+
+# pkgver() {
+# cd "$srcdir/${pkgname%-dev-git}"
+# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+# }
+
+build() {
+ cd "$srcdir/${pkgname%-dev-git}"
+ cmake . -G "Ninja"
+ ninja
+}
+
+package() {
+ cd "$srcdir/${pkgname%-dev-git}"
+ install -Dm755 ProjectAscension ${pkgdir}//usr/bin
+}