summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Potapenko2024-04-07 13:17:14 +0200
committerAlex Potapenko2024-04-07 13:17:14 +0200
commite5570275fd4364d54af19161915934e3889e2730 (patch)
tree6e73a1b67ff53351929373022dc0596562910313
parentd315cbf59762cce257a951a65a5221795ce6beee (diff)
downloadaur-e5570275fd4364d54af19161915934e3889e2730.tar.gz
Add commit minutes and secconds to the date part of the pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ff9d0b7c930..bc99a11c825b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vmware-host-modules-dkms-git
pkgdesc = VMware (Player and Workstation) host kernel modules with patches needed to build against recent kernels
- pkgver = 17.5.1.d20240112.2c6d66f
+ pkgver = 17.5.1.d20240112083033.2c6d66f
pkgrel = 1
epoch = 2
url = https://github.com/mkubecek/vmware-host-modules
diff --git a/PKGBUILD b/PKGBUILD
index 5054c91fe2cd..d9e4334500bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vmware-host-modules-dkms-git
_pkgname=vmware-host-modules
-pkgver=17.5.1.d20240112.2c6d66f
+pkgver=17.5.1.d20240112083033.2c6d66f
_branch_version=17.5.1
url='https://github.com/mkubecek/vmware-host-modules'
pkgrel=1
@@ -24,7 +24,7 @@ sha256sums=('SKIP'
pkgver(){
cd ${srcdir}/${_pkgname}
- git show -s --date=short --format=format:"${_branch_version}.d%cd.%h" | tr -d -
+ git log -n1 --format="%at %h" | awk "{print \"${_branch_version}.d\" strftime(\"%Y%m%d%H%M%S.\",\$1) \$2}"
}
package() {