summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Potapenko2024-04-08 10:22:56 +0200
committerAlex Potapenko2024-04-08 10:22:56 +0200
commit7655b06fcb25a9fc5dbe0605da7888fc219494a0 (patch)
tree3d8a962a86fedf41b9330ac2bacd8e2d8ef1dbb6
parente5570275fd4364d54af19161915934e3889e2730 (diff)
downloadaur-vmware-host-modules-dkms-git.tar.gz
Separate date and time, add "g" letter before commit hash
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc99a11c825b..7927f8c74259 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.d20240112083033.2c6d66f
+ pkgver = 17.5.1.d20240112.083033.g2c6d66f
pkgrel = 1
epoch = 2
url = https://github.com/mkubecek/vmware-host-modules
diff --git a/PKGBUILD b/PKGBUILD
index d9e4334500bd..119e75b3b341 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vmware-host-modules-dkms-git
_pkgname=vmware-host-modules
-pkgver=17.5.1.d20240112083033.2c6d66f
+pkgver=17.5.1.d20240112.083033.g2c6d66f
_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 log -n1 --format="%at %h" | awk "{print \"${_branch_version}.d\" strftime(\"%Y%m%d%H%M%S.\",\$1) \$2}"
+ git log -n1 --format="%at %h" | awk "{print \"${_branch_version}.d\" strftime(\"%Y%m%d.%H%M%S.g\",\$1) \$2}"
}
package() {