diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = xpadneo-dkms-git pkgdesc = Advanced Linux Driver for Xbox One Wireless Gamepad - pkgver = 0.8.r45.g63fceb1 + pkgver = 0.8.r57.g2126928 pkgrel = 1 url = https://github.com/atar-axis/xpadneo arch = x86_64 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -3,7 +3,7 @@ _pkgname=xpadneo pkgname=xpadneo-dkms-git -pkgver=0.8.r45.g63fceb1 +pkgver=0.8.r57.g2126928 pkgrel=1 pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad' arch=('x86_64') @@ -24,7 +24,7 @@ pkgver() { package() { cd "${srcdir}/${_pkgname}" - source lib/installer.sh + 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 |