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

Antonio Rojas arojas at archlinux.org
Sun Mar 22 10:24:33 UTC 2020


    Date: Sunday, March 22, 2020 @ 10:24:33
  Author: arojas
Revision: 378305

Update to 2.42.1

Modified:
  pangomm/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 10:00:07 UTC (rev 378304)
+++ PKGBUILD	2020-03-22 10:24:33 UTC (rev 378305)
@@ -2,7 +2,7 @@
 
 pkgbase=pangomm
 pkgname=(pangomm pangomm-docs)
-pkgver=2.42.0
+pkgver=2.42.1
 pkgrel=1
 pkgdesc="C++ bindings for Pango"
 url="https://www.gtkmm.org/"
@@ -9,8 +9,8 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(pango glibmm cairomm)
-makedepends=(git mm-common glibmm-docs cairomm-docs)
-_commit=59f0ec837adc4fe02ea1c77965b880e1cfeeb4b9  # tags/2.42.0^0
+makedepends=(git mm-common glibmm-docs cairomm-docs meson)
+_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b  # tags/2.42.1^0
 source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -19,22 +19,17 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
-  cd $pkgbase
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgbase
-  ./configure --prefix=/usr --enable-maintainer-mode
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  mkdir -p build
+  cd build
+  arch-meson ../$pkgbase
+  ninja
 }
 
 package_pangomm() {
-  cd $pkgbase
-  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
-  make DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
+  mv "$pkgdir"/usr/share "$srcdir"
 }
 
 package_pangomm-docs() {
@@ -41,6 +36,6 @@
   pkgdesc+=" (documentation)"
   depends=()
 
-  cd $pkgbase
-  make -C docs DESTDIR="$pkgdir" install
+  mkdir -p "$pkgdir"/usr
+  mv share "$pkgdir"/usr
 }



More information about the arch-commits mailing list