[arch-commits] Commit in systemd/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Tue Nov 19 20:29:02 UTC 2019
Date: Tuesday, November 19, 2019 @ 20:29:01
Author: eworm
Revision: 369443
upgpkg: systemd 243.162-2
fix versioning with new upstream tags
Modified:
systemd/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-19 18:20:40 UTC (rev 369442)
+++ PKGBUILD 2019-11-19 20:29:01 UTC (rev 369443)
@@ -7,7 +7,7 @@
# Can be from either systemd or systemd-stable
_commit='e51d9bf9e5ac5a6618c175cd9b5cfdc6733cd5d1'
pkgver=243.162
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
@@ -93,8 +93,10 @@
pkgver() {
cd "$pkgbase-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