blob: 2399096e1d229cc746a068a66e953daa0921822f (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Luís Ferreira <contact@lsferreira.net>
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
pkgname=aurorafw-git
_gitname=core
pkgver=0.0.1.alpha.2.r27.914cf66
pkgrel=1
pkgdesc="A Powerful General Purpose Framework"
arch=('x86_64' 'i686')
url="https://gitlab.com/aurorafossorg/p/framework/core"
license=('LGPL3')
provides=('aurorafw')
conflicts=('aurorafw')
depends=('glfw' 'opengl-driver' 'libx11' 'freeimage' 'portaudio' 'libsndfile' 'glew' 'gtk3' 'vulkan-icd-loader' 'vulkan-headers')
makedepends=('git' 'doxygen' 'meson' 'ldc')
source=("$pkgname-$_gitname::git+https://gitlab.com/aurorafossorg/p/framework/core.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname-$_gitname
git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g;s/\.rc./rc/g'
}
build() {
mkdir -p $pkgname-$_gitname/build
cd $pkgname-$_gitname/build
env DC=ldmd arch-meson ..
ninja
}
check() {
cd $pkgname-$_gitname/build
meson test
}
package() {
cd $pkgname-$_gitname/build
DESTDIR="$pkgdir" ninja install
}
|