diff options
author | Alex Potapenko | 2024-04-07 13:17:14 +0200 |
---|---|---|
committer | Alex Potapenko | 2024-04-07 13:17:14 +0200 |
commit | e5570275fd4364d54af19161915934e3889e2730 (patch) | |
tree | 6e73a1b67ff53351929373022dc0596562910313 | |
parent | d315cbf59762cce257a951a65a5221795ce6beee (diff) | |
download | aur-e5570275fd4364d54af19161915934e3889e2730.tar.gz |
Add commit minutes and secconds to the date part of the pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |