summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Grunbaum2020-11-16 10:31:10 +1100
committerJoel Grunbaum2020-11-16 10:31:10 +1100
commit010bb0e11c45d9a9d4d2adb28915a0970c3f0760 (patch)
tree888841f4a8914baa599da35a4283e3704f1e5de1
parentef6b5bfe6c0c21f8960ca1788f7856d2cd91339c (diff)
downloadaur-010bb0e11c45d9a9d4d2adb28915a0970c3f0760.tar.gz
changed version to own header
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75d2d5c54fc..df38c71b0ec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xpadneo-dkms-git
pkgdesc = Advanced Linux Driver for Xbox One Wireless Gamepad
- pkgver = 0.8.r57.g2126928
- pkgrel = 2
+ pkgver = 0.8.r76.gde0c176
+ pkgrel = 1
url = https://github.com/atar-axis/xpadneo
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 11d4c614122..4ac5ce0dc7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
-# Maintainer: Yangtse Su <i@yangtse.me>
-# Contributer: Joel Grunbaum <joel@joelg.net>
-
+# Maintainer: Joel Grunbaum <joel@joelg.net>
+# Contributer: Yangtse Su <i@yangtse.me>
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
-pkgver=0.8.r57.g2126928
-pkgrel=2
+pkgver=0.8.r76.gde0c176
+pkgrel=1
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64')
url='https://github.com/atar-axis/xpadneo'
@@ -28,7 +27,7 @@ package() {
echo "* replacing version string if necessary"
sed -i 's/PACKAGE_VERSION="@DO_NOT_CHANGE@"/PACKAGE_VERSION="'$VERSION'"/g' hid-xpadneo/dkms.conf
- sed -i 's/#define DRV_VER "@DO_NOT_CHANGE@"/#define DRV_VER "'$VERSION'"/g' hid-xpadneo/src/hid-xpadneo.c
+ sed -i 's/#define DRV_VER "@DO_NOT_CHANGE@"/#define DRV_VER "'$VERSION'"/g' hid-xpadneo/src/version.h
sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install
sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_remove