summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d89d314029c43646b0d890c7de97b75721a1968d (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
# Maintainer: Luís Ferreira <contact@lsferreira.net>

pkgname=aurorafw-git
pkgver=r62.7a2733e
pkgrel=2
pkgdesc="A Powerful General Purpose Framework"
arch=('any')
url="https://gitlab.com/aurorafossorg/p/framework/core"
license=('GNU LGPLv3')
provides=('aurorafw')
conflicts=('aurorafw')
depends=('glfw' 'vulkan-headers' 'opengl-driver' 'libx11' 'freeimage' 'portaudio' 'libsndfile')
makedepends=('doxygen' 'meson' 'ninja')
source=('git+https://gitlab.com/aurorafossorg/p/framework/core.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/core"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  pushd "$srcdir/core"
  meson --buildtype=release . .build
  pushd .build
  ninja
  ninja install
  popd
  popd
}