Package Details: dualsensectl-git r55.9d596ab-1

Git Clone URL: https://aur.archlinux.org/dualsensectl-git.git (read-only, click to copy)
Package Base: dualsensectl-git
Description: Tool for controlling PS5 DualSense controller
Upstream URL: https://github.com/nowrep/dualsensectl
Keywords: bluetooth controller dualsense games gaming playstation ps5 sony steam usb wireless
Licenses: GPL2
Conflicts: dualsensectl
Submitter: ruahcra
Maintainer: ruahcra (nowrep, MartinVonReich)
Last Packager: ruahcra
Votes: 6
Popularity: 1.24
First Submitted: 2022-01-21 09:14 (UTC)
Last Updated: 2024-09-28 05:03 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

BoostCookie commented on 2024-10-04 08:53 (UTC) (edited on 2024-10-04 08:53 (UTC) by BoostCookie)

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

Chasar commented on 2024-09-22 18:24 (UTC)

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"
}

nowrep commented on 2024-03-31 07:58 (UTC)

Build is fixed now. Please don't break it again, thanks.

MartinVonReich commented on 2024-03-30 07:30 (UTC)

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.

d34db0y commented on 2024-03-30 06:51 (UTC)

Edit PKGBUILD and change the following lines

pkgver=0.4.r2.g3e66f17
pkgrel=1

MartinVonReich commented on 2023-10-23 18:49 (UTC) (edited on 2023-10-23 18:50 (UTC) by MartinVonReich)

Striped down the <v> from the PKGVER row using SED as suggested by @sl1pkn07.

Cheers !

sl1pkn07 commented on 2023-10-14 13:54 (UTC)

hi.

you need strip the 'v' in the beggining of the pkgversion string

greetings

MartinVonReich commented on 2023-10-12 11:11 (UTC)

Just to make sure everything is there. But it probably does not have to be there.

Version is the most logical one can get. Combined tag with latest commit number reference. What's wrong with that? It also looks better and easily readible....

Also the PKGBUILD is now according to the standard of Arch Linux' packaging guidelines: https://wiki.archlinux.org/title/PKGBUILD In ORDER: 1] 2] 3] Etc ....