[arch-commits] Commit in conmon/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu May 23 04:48:38 UTC 2019


    Date: Thursday, May 23, 2019 @ 04:48:37
  Author: bpiotrowski
Revision: 468938

1:0.2.0-1

Modified:
  conmon/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-23 02:13:06 UTC (rev 468937)
+++ PKGBUILD	2019-05-23 04:48:37 UTC (rev 468938)
@@ -1,21 +1,22 @@
 # Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=conmon
-pkgver=1.13.0+9+8fba206
-pkgrel=2
+pkgver=0.2.0
+pkgrel=1
+epoch=1
 pkgdesc='OCI container runtime monitor'
 arch=(x86_64)
 url='https://github.com/containers/conmon'
 license=(APACHE)
-depends=(glibc glib2)
+depends=(glibc glib2 systemd-libs)
 makedepends=(git)
-_commit=8fba206232c249a8fc4e2fac1469fb2fddbf5cf7  # master
+_commit=59952292a3b07ac125575024ae21956efe0ecdfb  # tags/v0.2.0
 source=("git+https://github.com/containers/conmon#commit=${_commit}")
 md5sums=('SKIP')
 
 pkgver() {
-  cd conmon
-  printf "1.13.0+%s+%s" $(git rev-list --count @) $(git rev-parse --short HEAD)
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
 build() {



More information about the arch-commits mailing list