summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Grunbaum2021-04-03 00:31:05 +0000
committerJoel Grunbaum2021-04-03 00:31:05 +0000
commit4f9cca896f93f3f1f8e683261745084c9cc9d2c5 (patch)
treef5371ac4c76d4ffc5c42e453905ba12f0655da10
parent9185ee0fefd46e696ea1ff17f73cb21957412e97 (diff)
downloadaur-4f9cca896f93f3f1f8e683261745084c9cc9d2c5.tar.gz
removed too much
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2467cca44ea2..963c1e19e3bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xpadneo-dkms-git
pkgdesc = Advanced Linux Driver for Xbox One Wireless Gamepad
pkgver = 0.9.r54.g7d1e6fd
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/atar-axis/xpadneo
arch = x86_64
arch = armv7l
diff --git a/PKGBUILD b/PKGBUILD
index 1d9a59c03673..433744a9ba2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.9.r54.g7d1e6fd
-pkgrel=1
+pkgrel=2
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64' 'armv7l')
url='https://github.com/atar-axis/xpadneo'
@@ -24,6 +24,7 @@ package() {
cd "${srcdir}/${_pkgname}"
cd hid-xpadneo
+ VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
cd ..
sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install