summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Klevtsov2020-05-10 23:08:04 +0700
committerArtem Klevtsov2020-05-10 23:08:04 +0700
commit1b8f6c73259618638856b6bcfa57947f31535b2c (patch)
treef2c0c066f4ac8e6ff71c3eddd2bb12e7a03f9050
parent56b2746a22f1d5ae5606f71129a40f7ae0c27ee4 (diff)
downloadaur-1b8f6c73259618638856b6bcfa57947f31535b2c.tar.gz
Fix version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c44549519a5d..9716681ab974 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nfancurve-git
pkgdesc = A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs
- pkgver = v019.4.r1.g8c5cf4c
+ pkgver = 019.4.r1.g8c5cf4c
pkgrel = 1
url = https://github.com/nan0s7/nfancurve
install = nfancurve.install
diff --git a/PKGBUILD b/PKGBUILD
index 4525fbb703bf..9891b1bf00f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=nfancurve
pkgname=${_pkgname}-git
-pkgver=v019.4.r1.g8c5cf4c
+pkgver=019.4.r1.g8c5cf4c
pkgrel=1
pkgdesc="A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs"
arch=("any")
@@ -17,11 +17,10 @@ install=${_pkgname}.install
source=("${_pkgname}::git+https://github.com/nan0s7/${_pkgname}.git")
sha512sums=('SKIP')
-
pkgver() {
cd "${_pkgname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {