Date: Friday, March 15, 2019 @ 22:22:33 Author: heftig Revision: 442060
3.32.0-1 Modified: gtranslator/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-15 22:16:30 UTC (rev 442059) +++ PKGBUILD 2019-03-15 22:22:33 UTC (rev 442060) @@ -4,7 +4,7 @@ # Contributor: Christer Solskogen (solsko...@carebears.mine.nu) pkgname=gtranslator -pkgver=3.30.1 +pkgver=3.32.0 pkgrel=1 pkgdesc='An enhanced gettext po file editor for the GNOME desktop environment' arch=('x86_64') @@ -12,18 +12,18 @@ license=('GPL3') depends=('gtksourceview4' 'gspell' 'gettext' 'libgda' 'iso-codes' 'hicolor-icon-theme') makedepends=('meson' 'gobject-introspection' 'gtk-doc' 'yelp-tools') -source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/3.30/$pkgname-$pkgver.tar.xz) -sha256sums=('c77afffa588c453fcf2241acc6d68a636975b69cc4aab8057a3382cb218cf42c') +source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('aa8b6ce7a6ea199a50ee8f65258e640af80407a7433359b853039a7ea07a11b7') build() { - cd "${srcdir}"/$pkgname-$pkgver - - arch-meson . build -Dgtk_doc=true + arch-meson $pkgname-$pkgver build -Dgtk_doc=true ninja -C build } +check() { + meson test -C build --print-errorlogs +} + package() { - cd "${srcdir}"/$pkgname-$pkgver - - DESTDIR="${pkgdir}" ninja install -C build + DESTDIR="${pkgdir}" meson install -C build }