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

Jan Steffens heftig at archlinux.org
Tue Oct 29 20:08:22 UTC 2019


    Date: Tuesday, October 29, 2019 @ 20:08:21
  Author: heftig
Revision: 366025

1.0.0-1

Modified:
  mm-common/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-29 20:07:30 UTC (rev 366024)
+++ PKGBUILD	2019-10-29 20:08:21 UTC (rev 366025)
@@ -1,15 +1,15 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=mm-common
-pkgver=0.9.12
+pkgver=1.0.0
 pkgrel=1
 pkgdesc="Common build files of the C++ bindings"
 url="http://www.gtkmm.org/"
 arch=(any)
 depends=(graphviz doxygen gtk-doc libsigc++-docs perl-xml-parser)
-makedepends=(libsigc++ git)
+makedepends=(libsigc++ git meson)
 license=(GPL2)
-_commit=9879643187642c20a59be650de00b441653d389c  # tags/0.9.12^0
+_commit=ffba112d04908cd7badc7e7d39cb09bf6827ec7a  # tags/1.0.0^0
 source=("git+https://gitlab.gnome.org/GNOME/mm-common.git#commit=$_commit"
         https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag)
 sha256sums=('SKIP'
@@ -23,18 +23,19 @@
 prepare() {
   cd $pkgname
   cp ../libstdc++.tag doctags
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --disable-network
-  make
+  arch-meson $pkgname build
+  ninja -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list