summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18b6a3fa7f3f00ba2943874a7f5742acb28d1e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}