

















Can you please add the completions and also install the license?
Here are the commits:
add-completions.patch
From 60675fc59e1f1509acfbfd66515d5a1fdedcac5d Mon Sep 17 00:00:00 2001
From: Stefan Gehr <stefan@gehr.xyz>
Date: Fri, 4 Oct 2024 10:37:50 +0200
Subject: [PATCH 1/2] add completions
---
.SRCINFO | 2 +-
PKGBUILD | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 005286c..9901a2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dualsensectl-git
pkgdesc = Tool for controlling PS5 DualSense controller
- pkgver = r55.9d596ab
+ pkgver = r56.3809977
pkgrel = 1
url = https://github.com/nowrep/dualsensectl
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 07340c5..8ef7d5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=${_pkgbase}-git
pkgname=dualsensectl-git
pkgdesc='Tool for controlling PS5 DualSense controller'
conflicts=('dualsensectl')
-pkgver=r55.9d596ab
+pkgver=r56.3809977
pkgrel=1
url='https://github.com/nowrep/dualsensectl'
license=('GPL2')
@@ -29,4 +29,6 @@ build() {
package() {
cd "$_pkgbase"
meson install -C build --destdir "$pkgdir"
+ install -Dm644 completion/_dualsensectl "${pkgdir}/usr/share/zsh/site-functions/_dualsensectl"
+ install -Dm644 completion/dualsensectl "${pkgdir}/usr/share/bash-completion/completions/dualsensectl"
}
--
2.46.2
install-license.patch
From 91e00f8daf5faf4d0883c26d22d68f7fe652f71d Mon Sep 17 00:00:00 2001
From: Stefan Gehr <stefan@gehr.xyz>
Date: Fri, 4 Oct 2024 10:49:42 +0200
Subject: [PATCH 2/2] install license
---
PKGBUILD | 1 +
1 file changed, 1 insertion(+)
diff --git a/PKGBUILD b/PKGBUILD
index 8ef7d5b..327a799 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,4 +31,5 @@ package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 completion/_dualsensectl "${pkgdir}/usr/share/zsh/site-functions/_dualsensectl"
install -Dm644 completion/dualsensectl "${pkgdir}/usr/share/bash-completion/completions/dualsensectl"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
--
2.46.2
I noticed that dualsensectl has switched over to meson, so I took the opportunity to rewrite the PKGBUILD file, but I don't have the rights to contribute. Feel free to copy my changes!
# Author: David Rosca <nowrep@gmail.com>
_pkgbase=dualsensectl
pkgbase=${_pkgbase}-git
pkgname=dualsensectl-git
pkgdesc='Tool for controlling PS5 DualSense controller'
conflicts=('dualsensectl')
pkgver=r55.9d596ab
pkgrel=1
url='https://github.com/nowrep/dualsensectl'
license=('GPL2')
arch=('x86_64')
depends=('dbus' 'hidapi')
makedepends=('git' 'gcc' 'meson')
source=("$_pkgbase::git+$url")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgbase"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgbase"
arch-meson build
meson compile -C build
}
package() {
cd "$_pkgbase"
meson install -C build --destdir "$pkgdir"
}
Build is fixed now. Please don't break it again, thanks.
Will do after I get Arch distro up and running again. I do not use Arch on daily basis. It might take 2-3-4 days as I am currently not so much into it.
Edit PKGBUILD and change the following lines
pkgver=0.4.r2.g3e66f17
pkgrel=1
Striped down the <v> from the PKGVER row using SED as suggested by @sl1pkn07.
Cheers !
hi.
you need strip the 'v' in the beggining of the pkgversion string
greetings
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
It seems like versioning scheme was broken in latest release. Should be:
r10.d3ae2fa-1