[arch-commits] Commit in pango/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue May 23 04:22:06 UTC 2017
Date: Tuesday, May 23, 2017 @ 04:22:05
Author: heftig
Revision: 296467
1.40.6+6+g6f59d0f3-2
Modified:
pango/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-22 20:23:14 UTC (rev 296466)
+++ PKGBUILD 2017-05-23 04:22:05 UTC (rev 296467)
@@ -3,13 +3,13 @@
pkgname=pango
pkgver=1.40.6+6+g6f59d0f3
-pkgrel=1
+pkgrel=2
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 meson)
+makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection help2man gtk-doc git)
checkdepends=(ttf-dejavu cantarell-fonts)
_commit=6f59d0f387dd62f12a7107e898064c7e42159945 # master
source=("git+https://git.gnome.org/browse/pango#commit=$_commit")
@@ -21,23 +21,24 @@
}
prepare() {
- mkdir build
cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd build
- meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib \
- -Denable_docs=true
- ninja
+ 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
}
check() {
- cd build
- mesontest || :
+ cd $pkgname
+ make -k check || :
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list