blob: c86205519debc987d4a17ba91f491c6caacb6a2e (
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=rfb7a622.258
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')
conflicts=('projectascension-git')
source=('projectascension::git+https://www.github.com/Proj-Ascension/Client#branch=dev')
md5sums=('SKIP')
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}"
cmake . -G "Ninja"
ninja
}
package() {
cd "$srcdir/${pkgname%-dev-git}"
install -Dm755 ProjectAscension ${pkgdir}/usr/bin/ProjectAscension
}
|