blob: 6f2434c52af249405724b3bce91b93c56f4241c2 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# Maintainer: Amy <me at he3als dot xyz>
_pkgname=wayvr
_appimageprefix=WayVR
_pkgowner=wlx-team
pkgname="${_pkgname}-actions-bin"
branch=main
pkgver=24379566968
pkgrel=1
pkgdesc="Your way to enjoy VR on Linux! Access your Wayland/X11 desktop from SteamVR/Monado (OpenVR+OpenXR, CI build)"
arch=('x86_64')
url="https://github.com/${_pkgowner}/${_pkgname}"
license=('GPL')
replaces=("wlx-overlay-s")
options=('!debug')
provides=(
"${_pkgname}"
"${_pkgname}=git"
)
conflicts=(
"${_pkgname}"
"${_pkgname}-bin"
"${_pkgname}-git"
)
depends=(
'glibc'
'gcc-libs'
'libx11'
'libxrandr'
'libxinerama'
'libxkbcommon'
'wayland'
'libdrm'
'vulkan-icd-loader'
'fontconfig'
'freetype2'
'dbus'
'libpipewire'
'alsa-lib'
'openvr'
'openxr'
)
zipName="${pkgname}-${CARCH}-${pkgver}.zip"
source=(
"${zipName}::https://nightly.link/${_pkgowner}/${_pkgname}/actions/runs/${pkgver}/${_appimageprefix}-${branch}-${CARCH}.AppImage.zip"
)
sha256sums=('4995bcde2ce243f5c6943e7a290bb16bcfc98c537506b1ab9d916d6e8f7eab46')
prepare() {
cd "${srcdir}"
appimage="${_appimageprefix}-${CARCH}.AppImage"
msg "Extracting AppImage contents..."
chmod +x ${appimage}
./${appimage} --appimage-extract > /dev/null
}
package() {
cd "${srcdir}/squashfs-root"
# main binary
install -Dm0755 usr/bin/${_pkgname} \
"${pkgdir}/usr/bin/${_pkgname}"
# .desktop file
install -Dm0644 usr/share/applications/${_pkgname}.desktop \
"${pkgdir}/usr/share/applications/${_pkgname}.desktop"
# icons
install -dm755 "${pkgdir}/usr/share/"
cp -a \
"${srcdir}/squashfs-root/usr/share/icons" \
"${pkgdir}/usr/share/"
}
|