[arch-commits] Commit in mm-common/repos/extra-any (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Oct 29 20:23:52 UTC 2019


    Date: Tuesday, October 29, 2019 @ 20:23:52
  Author: heftig
Revision: 366031

archrelease: copy trunk to extra-any

Added:
  mm-common/repos/extra-any/PKGBUILD
    (from rev 366025, mm-common/trunk/PKGBUILD)
Deleted:
  mm-common/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-29 20:23:52 UTC (rev 366030)
+++ PKGBUILD	2019-10-29 20:23:52 UTC (rev 366031)
@@ -1,42 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=mm-common
-pkgver=0.9.12
-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)
-license=(GPL2)
-_commit=9879643187642c20a59be650de00b441653d389c  # master
-source=("git+https://git.gnome.org/browse/mm-common#commit=$_commit"
-        https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag)
-sha256sums=('SKIP'
-            'f6c8c74e8293aefaefb4d25fd154d5f537b3bc80e7ceecaa02c5a01836fc09e6')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  git tag -f 0.9.12 9879643187642c20a59be650de00b441653d389c
-  cp ../libstdc++.tag doctags
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --disable-network
-  make
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: mm-common/repos/extra-any/PKGBUILD (from rev 366025, mm-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-29 20:23:52 UTC (rev 366031)
@@ -0,0 +1,41 @@
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=mm-common
+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 meson)
+license=(GPL2)
+_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'
+            'f6c8c74e8293aefaefb4d25fd154d5f537b3bc80e7ceecaa02c5a01836fc09e6')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  cp ../libstdc++.tag doctags
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list