blob: 0a4fb84b393078648139beb673b8d5a3edb14e71 (
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-git
pkgver=r39abb56.157
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')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-parse --short HEAD)" "$(git rev-list --count HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
cmake . -G "Ninja"
ninja
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm755 ProjectAscension ${pkgdir}/usr/bin/ProjectAscension
}
|