summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a06be94a0bb6..792b76d9541c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.9.r54.g7d1e6fd
-pkgrel=3
+pkgrel=4
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64' 'armv7l')
url='https://github.com/atar-axis/xpadneo'
@@ -27,6 +27,7 @@ package() {
VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
cd ..
echo "* replacing version string if necessary"
+ cp hid-xpadneo/dkms.conf.in hid-xpadneo/dkms.conf
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