summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorArtem Klevtsov2020-05-10 23:08:04 +0700
committerArtem Klevtsov2020-05-10 23:08:04 +0700
commit1b8f6c73259618638856b6bcfa57947f31535b2c (patch)
treef2c0c066f4ac8e6ff71c3eddd2bb12e7a03f9050 /PKGBUILD
parent56b2746a22f1d5ae5606f71129a40f7ae0c27ee4 (diff)
downloadaur-1b8f6c73259618638856b6bcfa57947f31535b2c.tar.gz
Fix version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
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() {