summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYangtse Su2020-07-15 08:47:48 +0800
committerYangtse Su2020-07-15 08:47:48 +0800
commitf587bd246c5189ea2bcd2736b6ef2704a9700fa6 (patch)
treee667a141e57c214f528c322a793d934061149d77
parent99070fd0c7ac0f17906e80ebb44cf52ac513e531 (diff)
downloadaur-f587bd246c5189ea2bcd2736b6ef2704a9700fa6.tar.gz
fix sed
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7430b86368b..f11e2f8d941 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.r8.g1fed9aa
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/atar-axis/xpadneo
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 0a57d20375a..7dfe2fa4f7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.8.r8.g1fed9aa
-pkgrel=1
+pkgrel=2
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64')
url='https://github.com/atar-axis/xpadneo'
@@ -29,8 +29,8 @@ package() {
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@/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
+ 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
echo "* copying module into /usr/src"
install -dm755 ${pkgdir}/usr/src/hid-xpadneo-${VERSION}