[arch-commits] Commit in libgtop/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:33:31 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:33:31
  Author: felixonmars
Revision: 386370

archrelease: copy trunk to staging-x86_64

Added:
  libgtop/repos/staging-x86_64/
  libgtop/repos/staging-x86_64/PKGBUILD
    (from rev 386367, libgtop/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: libgtop/repos/staging-x86_64/PKGBUILD (from rev 386367, libgtop/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:33:31 UTC (rev 386370)
@@ -0,0 +1,36 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgtop
+pkgver=2.40.0+2+g31db82ef
+pkgrel=2
+pkgdesc="A library for collecting system monitoring data"
+url="https://gitlab.gnome.org/GNOME/libgtop"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 libxau)
+makedepends=(gobject-introspection git gtk-doc)
+_commit=31db82efced79d1ceee465d9b50da2fe6fd16482  # master
+source=("git+https://gitlab.gnome.org/GNOME/libgtop.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static --enable-gtk-doc
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list