[arch-commits] Commit in lib32-systemd/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Tue Nov 19 20:29:29 UTC 2019
Date: Tuesday, November 19, 2019 @ 20:29:28
Author: eworm
Revision: 530545
upgpkg: lib32-systemd 243.162-2
fix versioning with new upstream tags
Modified:
lib32-systemd/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-19 20:07:33 UTC (rev 530544)
+++ PKGBUILD 2019-11-19 20:29:28 UTC (rev 530545)
@@ -7,7 +7,7 @@
# Can be from either systemd or systemd-stable
_commit='e51d9bf9e5ac5a6618c175cd9b5cfdc6733cd5d1'
pkgver=243.162
-pkgrel=1
+pkgrel=2
pkgdesc='system and service manager (32-bit)'
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
@@ -51,12 +51,12 @@
}
pkgver() {
- local version count
-
cd "$_pkgbasename-stable"
+ # TODO: Switch to upstream versioning post v243!
+
local _version _count
- _version="$(git describe --abbrev=0 --tags)"
+ _version='v243'
_count="$(git rev-list --count ${_version}..)"
printf '%s.%s' "${_version#v}" "${_count}"
}
More information about the arch-commits
mailing list