summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoel Grunbaum2021-04-03 00:34:42 +0000
committerJoel Grunbaum2021-04-03 00:34:42 +0000
commit7e7a9766618a68050e07e3e57711753063987bb8 (patch)
tree6239b31b17224625d8b070323ea4ce0320601f41 /PKGBUILD
parent4f9cca896f93f3f1f8e683261745084c9cc9d2c5 (diff)
downloadaur-7e7a9766618a68050e07e3e57711753063987bb8.tar.gz
readding more
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 433744a9ba2e..a06be94a0bb6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.9.r54.g7d1e6fd
-pkgrel=2
+pkgrel=3
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64' 'armv7l')
url='https://github.com/atar-axis/xpadneo'
@@ -26,6 +26,8 @@ package() {
cd hid-xpadneo
VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
cd ..
+ 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