mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
wayvr-actions-bin: init
This commit is contained in:
commit
a3374ff47a
2 changed files with 111 additions and 0 deletions
33
.SRCINFO
Normal file
33
.SRCINFO
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
pkgbase = wayvr-actions-bin
|
||||
pkgdesc = Your way to enjoy VR on Linux! Access your Wayland/X11 desktop from SteamVR/Monado (OpenVR+OpenXR, CI build)
|
||||
pkgver = 20954286114
|
||||
pkgrel = 2
|
||||
url = https://github.com/wlx-team/wayvr
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
depends = glibc
|
||||
depends = gcc-libs
|
||||
depends = libx11
|
||||
depends = libxrandr
|
||||
depends = libxinerama
|
||||
depends = libxkbcommon
|
||||
depends = wayland
|
||||
depends = libdrm
|
||||
depends = vulkan-icd-loader
|
||||
depends = fontconfig
|
||||
depends = freetype2
|
||||
depends = dbus
|
||||
depends = libpipewire
|
||||
depends = alsa-lib
|
||||
depends = openvr
|
||||
depends = openxr
|
||||
provides = wayvr
|
||||
provides = wayvr=git
|
||||
conflicts = wayvr
|
||||
conflicts = wayvr-bin
|
||||
conflicts = wayvr-git
|
||||
options = !debug
|
||||
source = wayvr-actions-bin-x86_64-20954286114.zip::https://nightly.link/wlx-team/wayvr/actions/runs/20954286114/{WayVR}-main-x86_64.AppImage.zip
|
||||
sha256sums = 130589e616a133dbeefc9e58bf418a33f4394d01a65e4a57548caed1e7f360fe
|
||||
|
||||
pkgname = wayvr-actions-bin
|
||||
78
PKGBUILD
Normal file
78
PKGBUILD
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
# Maintainer: Amy <me at he3als dot xyz>
|
||||
|
||||
_pkgname=wayvr
|
||||
_appimageprefix=WayVR
|
||||
_pkgowner=wlx-team
|
||||
pkgname="${_pkgname}-actions-bin"
|
||||
branch=main
|
||||
pkgver=20954286114
|
||||
pkgrel=2
|
||||
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')
|
||||
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=('130589e616a133dbeefc9e58bf418a33f4394d01a65e4a57548caed1e7f360fe')
|
||||
|
||||
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/"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue