[arch-commits] Commit in libgovirt/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Sep 5 20:10:40 UTC 2022


    Date: Monday, September 5, 2022 @ 20:10:40
  Author: arojas
Revision: 1293217

archrelease: copy trunk to community-x86_64

Added:
  libgovirt/repos/community-x86_64/PKGBUILD
    (from rev 1293216, libgovirt/trunk/PKGBUILD)
Deleted:
  libgovirt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 34 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-05 20:10:36 UTC (rev 1293216)
+++ PKGBUILD	2022-09-05 20:10:40 UTC (rev 1293217)
@@ -1,42 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libgovirt
-pkgver=0.3.8
-pkgrel=1
-pkgdesc="GObject-based library to access oVirt REST API"
-arch=(x86_64)
-url="https://gitlab.gnome.org/GNOME/libgovirt"
-license=(LGPL)
-depends=(rest)
-makedepends=(git gobject-introspection)
-_commit=4c85fde80498a72aa649e67f2c1ef06f85db461a
-source=("git+https://gitlab.gnome.org/GNOME/libgovirt.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed -e 's/^v//' -e 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-  
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: libgovirt/repos/community-x86_64/PKGBUILD (from rev 1293216, libgovirt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-05 20:10:40 UTC (rev 1293217)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgovirt
+pkgver=0.3.9
+pkgrel=1
+pkgdesc="GObject-based library to access oVirt REST API"
+arch=(x86_64)
+url="https://gitlab.gnome.org/GNOME/libgovirt"
+license=(LGPL)
+depends=(librest)
+makedepends=(git gobject-introspection meson)
+_commit=339bd3322f02079494da3e1fee61fba31dd42196
+source=("git+https://gitlab.gnome.org/GNOME/libgovirt.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/^v//' -e 's/-/+/g'
+}
+
+build() {
+  meson build $pkgname \
+    --prefix=/usr
+  meson compile -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  meson install -C build --destdir="$pkgdir"
+}



More information about the arch-commits mailing list