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

Balló György bgyorgy at archlinux.org
Thu Jan 9 01:25:28 UTC 2020


    Date: Thursday, January 9, 2020 @ 01:25:27
  Author: bgyorgy
Revision: 550953

upgpkg: libosinfo 1.7.1-1: Update to new version

Modified:
  libosinfo/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-09 01:06:34 UTC (rev 550952)
+++ PKGBUILD	2020-01-09 01:25:27 UTC (rev 550953)
@@ -2,7 +2,7 @@
 # Contributor: Stefano Facchini <stefano.facchini at gmail.com>
 
 pkgname=libosinfo
-pkgver=1.6.0
+pkgver=1.7.1
 pkgrel=1
 pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support"
 arch=('x86_64')
@@ -9,33 +9,25 @@
 url="https://libosinfo.org/"
 license=('GPL' 'LGPL')
 depends=('glib2' 'libsoup' 'libxslt' 'osinfo-db')
-makedepends=('check' 'gobject-introspection' 'vala' 'gtk-doc')
-source=(https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.gz{,.asc})
+makedepends=('check' 'gobject-introspection' 'gtk-doc' 'meson' 'vala')
+source=(https://releases.pagure.org/libosinfo/$pkgname-$pkgver.tar.xz{,.asc})
 validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF'  # Daniel P. Berrange
               '09B9C8FF223EF113AFA06A39EE926C2BDACC177B') # Fabiano Fidêncio <fidencio at redhat.com>
-sha256sums=('3c385c1cceb46301fdc79115e7b28e3df7aa26fafce0a787a60132a86a1990c7'
+sha256sums=('bb26106ad4a9f8523f81b332d2aedb717cdcb0500b3f68ba7c6ff945c4d627e9'
             'SKIP')
 
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i '/export LC_ALL = C/d' maint.mk
-}
-
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --with-usb-ids-path=/usr/share/hwdata/usb.ids \
-              --with-pci-ids-path=/usr/share/hwdata/pci.ids \
-              --enable-gtk-doc
-  make
+  arch-meson $pkgname-$pkgver build \
+    -D with-usb-ids-path=/usr/share/hwdata/usb.ids \
+    -D with-pci-ids-path=/usr/share/hwdata/pci.ids
+  ninja -C build
 }
 
 check() {
-  cd $pkgname-$pkgver
-  make check || :
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }
+



More information about the arch-commits mailing list