blob: f60353e83b806994f8562da415afe66ca6fdd25b (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=xrdesktop
pkgver=0.13.2
pkgrel=1
pkgdesc="Library for XR interaction with classical desktop compositors"
arch=('i686' 'x86_64')
url="https://gitlab.freedesktop.org/xrdesktop/xrdesktop"
license=('MIT')
depends=('glibc' 'glib2' 'gulkan' 'gxr')
makedepends=('meson' 'glslang' 'gtk-doc' 'vulkan-headers')
source=("https://gitlab.freedesktop.org/xrdesktop/xrdesktop/-/archive/$pkgver/xrdesktop-$pkgver.tar.bz2")
sha256sums=('e3a0813740b087764554361d390e920a27f15a0d2f64226975ae9176da61eaeb')
build() {
cd "$pkgname-$pkgver"
meson \
--buildtype=plain \
--prefix="/usr" \
--sbindir="bin" \
"_build"
ninja -C "_build"
}
check() {
cd "$pkgname-$pkgver"
#meson test -C "_build"
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" meson install -C "_build"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/xrdesktop"
}
|