Date: Monday, May 22, 2017 @ 20:11:12
  Author: heftig
Revision: 296463

1.40.6+6+g6f59d0f3-1

Modified:
  pango/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-05-22 19:59:40 UTC (rev 296462)
+++ PKGBUILD    2017-05-22 20:11:12 UTC (rev 296463)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
 pkgname=pango
-pkgver=1.40.5
+pkgver=1.40.6+6+g6f59d0f3
 pkgrel=1
 pkgdesc="A library for layout and rendering of text"
 url="https://www.pango.org/";
@@ -9,9 +9,9 @@
 arch=(i686 x86_64)
 license=(LGPL)
 depends=(libthai cairo libxft harfbuzz)
-makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection 
help2man gtk-doc git)
-checkdepends=(ttf-dejavu)
-_commit=6c5d1d35061a91c3c0792f7720da3f8308ebff65  # tags/1.40.5^0
+makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection 
help2man gtk-doc git meson)
+checkdepends=(ttf-dejavu cantarell-fonts)
+_commit=6f59d0f387dd62f12a7107e898064c7e42159945  # master
 source=("git+https://git.gnome.org/browse/pango#commit=$_commit";)
 sha256sums=('SKIP')
 
@@ -21,24 +21,23 @@
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  cd build
+  meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib \
+    -Denable_docs=true
+  ninja
 }
 
 check() {
-  cd $pkgname
-  make -k check || :
+  cd build
+  mesontest || :
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="${pkgdir}" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }

Reply via email to