diff options
author | Artem Klevtsov | 2020-05-10 23:08:04 +0700 |
---|---|---|
committer | Artem Klevtsov | 2020-05-10 23:08:04 +0700 |
commit | 1b8f6c73259618638856b6bcfa57947f31535b2c (patch) | |
tree | f2c0c066f4ac8e6ff71c3eddd2bb12e7a03f9050 | |
parent | 56b2746a22f1d5ae5606f71129a40f7ae0c27ee4 (diff) | |
download | aur-1b8f6c73259618638856b6bcfa57947f31535b2c.tar.gz |
Fix version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -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 @@ -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() { |