blob: 0f956d69e36860b33e549007a39be6d79b5badb7 (
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
|
# Maintainer: Follen22 <baffer2024@gmail.com>
pkgname=ds5-edge-relay
pkgver=2.1.0
pkgrel=1
pkgdesc="Qt6 GUI relay daemon for DualSense Edge — presents it as standard DualSense to fix Proton/Steam compatibility, with button remapping, macro recorder and quick-record"
arch=("x86_64")
url="https://github.com/Follen22/ds5-edge-relay"
license=("MIT")
depends=("glibc" "qt6-base")
makedepends=("cmake" "ninja")
install="${pkgname}.install"
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/Follen22/ds5-edge-relay/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=("422f10d92121c754d779365aab6f05f4064bf6d3fd11ada845a2dae895f6dce2")
build() {
cd "${pkgname}-${pkgver}"
cmake -B build -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
ninja -C build
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "99-${pkgname}.rules" "${pkgdir}/usr/lib/udev/rules.d/99-${pkgname}.rules"
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|