summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllis Kenyo2015-07-22 19:39:20 +0100
committerEllis Kenyo2015-07-22 19:39:20 +0100
commit2cb6812bf03900be3efb14dd4994989be582c59f (patch)
tree1df435bd60b25819497d7ac89a7fc58aac3cdc11
parent4d63b3e7ae49a16950046f0fa97d67fc47447924 (diff)
downloadaur-projectascension-dev-git.tar.gz
Bump
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e452b40c2b8..08faba8f261 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = projectascension-dev-git
pkgdesc = Community-driven open source gaming client
- pkgver = 0
+ pkgver = rfb7a622.258
pkgrel = 1
url = http://www.projectascension.io
arch = any
@@ -12,6 +12,7 @@ pkgbase = projectascension-dev-git
depends = qt5-base
depends = qt5-declarative
depends = qt5-webkit
+ conflicts = projectascension-git
source = projectascension::git+https://www.github.com/Proj-Ascension/Client#branch=dev
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 18b6a3fa7f3..c86205519de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Ellis Kenyo <elken at member dot fsf dot org>
pkgname=projectascension-dev-git
-pkgver=0
+pkgver=rfb7a622.258
pkgrel=1
pkgdesc="Community-driven open source gaming client"
arch=('any')
@@ -8,14 +8,14 @@ url="http://www.projectascension.io"
license=('MIT')
depends=('cmake' 'boost' 'ninja' 'qt5-base' 'qt5-declarative' 'qt5-webkit')
makedepends=('git')
-install=
+conflicts=('projectascension-git')
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')"
-# }
+pkgver() {
+ cd "$srcdir/${pkgname%-dev-git}"
+ printf "r%s.%s" "$(git rev-parse --short HEAD)" "$(git rev-list --count HEAD)"
+}
build() {
cd "$srcdir/${pkgname%-dev-git}"
@@ -25,5 +25,5 @@ build() {
package() {
cd "$srcdir/${pkgname%-dev-git}"
- install -Dm755 ProjectAscension ${pkgdir}//usr/bin
+ install -Dm755 ProjectAscension ${pkgdir}/usr/bin/ProjectAscension
}