summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Grunbaum2021-04-03 00:14:36 +0000
committerJoel Grunbaum2021-04-03 00:20:22 +0000
commit9185ee0fefd46e696ea1ff17f73cb21957412e97 (patch)
tree147b7f86a9ff612e97a58a29954003e9689aad9f
parenta8f96e15eeb6e6740638da25dcfefe81e951336c (diff)
downloadaur-9185ee0fefd46e696ea1ff17f73cb21957412e97.tar.gz
changed how versioning works internally
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 557b2b9d177..2467cca44ea 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.r15.g9d8c4b7
- pkgrel = 2
+ pkgver = 0.9.r54.g7d1e6fd
+ pkgrel = 1
url = https://github.com/atar-axis/xpadneo
arch = x86_64
arch = armv7l
diff --git a/PKGBUILD b/PKGBUILD
index 343b8c5a030..1d9a59c0367 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributer: Yangtse Su <i@yangtse.me>
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
-pkgver=0.9.r15.g9d8c4b7
-pkgrel=2
+pkgver=0.9.r54.g7d1e6fd
+pkgrel=1
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64' 'armv7l')
url='https://github.com/atar-axis/xpadneo'
@@ -24,13 +24,8 @@ package() {
cd "${srcdir}/${_pkgname}"
cd hid-xpadneo
- make src/version.h
cd ..
- VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
-
- 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@/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