Date: Friday, September 22, 2017 @ 22:45:15 Author: jgc Revision: 306135
upgpkg: gnome-dictionary 3.26.0-1 Modified: gnome-dictionary/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-22 22:39:26 UTC (rev 306134) +++ PKGBUILD 2017-09-22 22:45:15 UTC (rev 306135) @@ -2,7 +2,7 @@ # Maintainer: Ionut Biru <ib...@archlinux.org> pkgname=gnome-dictionary -pkgver=3.24.0+5+ga7aa054 +pkgver=3.26.0 pkgrel=1 pkgdesc="Look up words in dictionary sources" arch=(i686 x86_64) @@ -9,12 +9,17 @@ url="https://wiki.gnome.org/Apps/Dictionary" license=('GPL2') depends=('dconf' 'gtk3') -makedepends=('intltool' 'itstool' 'docbook-xsl' gtk-doc yelp-tools git gobject-introspection) +makedepends=('itstool' 'docbook-xsl' gtk-doc yelp-tools git gobject-introspection meson appstream-glib) groups=('gnome') -_commit=a7aa0541016aeffeafd5adbd123ac669e27c13e8 # gnome-3-24 +_commit=94bdad93b33e40815e6e63a3ed89d3ecd84ff53d # tags/3.26.0^0 source=("git+https://git.gnome.org/browse/gnome-dictionary#commit=$_commit") sha256sums=('SKIP') +check() { + cd build + meson test +} + pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' @@ -21,20 +26,19 @@ } prepare() { + mkdir build cd $pkgname - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure --prefix=/usr --enable-gtk-doc - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + cd build + meson setup --prefix=/usr --buildtype=release ../$pkgname + ninja } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + cd build + DESTDIR="$pkgdir" ninja install } # vim:set ts=2 sw=2 et: