[arch-commits] Commit in lib32-lm_sensors/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Thu Feb 18 15:28:49 UTC 2021
Date: Thursday, February 18, 2021 @ 15:28:49
Author: lcarlier
Revision: 864765
upgpkg: lib32-lm_sensors 1:3.6.0.r41.g31d1f125-1: fix package version (FS#69693)
Modified:
lib32-lm_sensors/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-18 15:28:49 UTC (rev 864764)
+++ PKGBUILD 2021-02-18 15:28:49 UTC (rev 864765)
@@ -3,10 +3,11 @@
# Contributor: Lubosz Sarnecki <lubosz0 at gmail.com>
pkgname=lib32-lm_sensors
-pkgver=3.6.0.r5313.g31d1f125
+pkgver=3.6.0.r41.g31d1f125
_commit=31d1f125d8076f1c8c8f3224b31d240e6e6a1763
#_pkgver=${pkgver//./-}
pkgrel=1
+epoch=1
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring (32-bit)"
arch=('x86_64')
url="http://www.lm-sensors.org/"
@@ -21,7 +22,7 @@
pkgver() {
cd "${srcdir}"/lm-sensors*
- echo 3.6.0.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)
+ git describe --long --tags | sed 's/V//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
More information about the arch-commits
mailing list