summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYangtse Su2019-01-05 13:45:58 +0800
committerYangtse Su2019-01-05 13:45:58 +0800
commitb4c303f0c5f72b64decd790f469da332d6209290 (patch)
tree9550ffb817706f78bdc5b3ed03384ed03bae28cd
parentdb8ffc8eb926f66c767b0e5b3021b1c9c299693b (diff)
downloadaur-b4c303f0c5f72b64decd790f469da332d6209290.tar.gz
fix VERSION
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82b0829f638..6d20b8909b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xpadneo-dkms-git
pkgdesc = Advanced Linux Driver for Xbox One S Wireless Gamepad
pkgver = 0.r209.g38f3f71
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/atar-axis/xpadneo
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 04d217ec5f9..c57ccea97d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.r209.g38f3f71
-pkgrel=2
+pkgrel=3
pkgdesc='Advanced Linux Driver for Xbox One S Wireless Gamepad'
arch=('x86_64')
url='https://github.com/atar-axis/xpadneo'
@@ -31,7 +31,7 @@ pkgver() {
package() {
cd "${srcdir}/${_pkgname}"
- source VERSION
+ VERSION=$(cat VERSION)
echo "* copying module into /usr/src"
install -dm755 ${pkgdir}/usr/src/hid-xpadneo-${VERSION}