[arch-commits] Commit in pango/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue May 23 18:53:01 UTC 2017
Date: Tuesday, May 23, 2017 @ 18:53:00
Author: heftig
Revision: 296518
1.40.6+9+g92cc73c8-1
Modified:
pango/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-23 15:26:09 UTC (rev 296517)
+++ PKGBUILD 2017-05-23 18:53:00 UTC (rev 296518)
@@ -2,16 +2,16 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=pango
-pkgver=1.40.6+6+g6f59d0f3
-pkgrel=2
+pkgver=1.40.6+9+g92cc73c8
+pkgrel=1
pkgdesc="A library for layout and rendering of text"
url="https://www.pango.org/"
arch=(i686 x86_64)
license=(LGPL)
depends=(libthai cairo libxft harfbuzz)
-makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection help2man gtk-doc git)
+makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection help2man gtk-doc git meson)
checkdepends=(ttf-dejavu cantarell-fonts)
-_commit=6f59d0f387dd62f12a7107e898064c7e42159945 # master
+_commit=92cc73c898e4665fd739704417d487d137dd271b # 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 -v
}
check() {
- cd $pkgname
- make -k check || :
+ cd build
+ mesontest
}
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list