summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lange2019-05-11 10:45:56 +1000
committerRobin Lange2019-05-11 10:45:56 +1000
commitfb9d7e41bc566228fd7baad3d51a0063ad2606ac (patch)
tree2e71177a657a2d795e7f5c5c7fde59d1cbdb956c
parent1da8afc336ef50ae58c357312d93c4f6f438b030 (diff)
downloadaur-fb9d7e41bc566228fd7baad3d51a0063ad2606ac.tar.gz
Fixed pkgver() again (removed "v" prefix)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8b12e6975c6..f85b0cf6ef1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = optimus-manager-git
pkgdesc = Management utility to handle GPU switching for Optimus laptops (Git version)
- pkgver = v0.8.r102.g2a678c8
+ pkgver = 0.8.r103.g7e88461
pkgrel = 1
url = https://github.com/Askannz/optimus-manager
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 672153dc40f1..c15b8ab48a0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Robin Lange <robin dot langenc at gmail dot com>
# Contributor: Robin Lange <robin dot langenc at gmail dot com>
pkgname=optimus-manager-git
-pkgver=v0.8.r102.g2a678c8
+pkgver=0.8.r103.g7e88461
pkgrel=1
pkgdesc="Management utility to handle GPU switching for Optimus laptops (Git version)"
arch=('any')
@@ -24,7 +24,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/optimus-manager/"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {