# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=glade pkgver=3.22.1 pkgrel=1 pkgdesc="User Interface Designer for GTK+ and GNOME" url="https://glade.gnome.org/" arch="all" license="GPL-2.0-or-later" makedepends="gtk+3.0-dev libxml2-dev itstool gtk-doc paxmark intltool webkit2gtk-dev py-gobject3-dev gobject-introspection-dev" checkdepends="xvfb-run ibus adwaita-icon-theme" options="!check" # If adwaita-icon-theme wasn't installed e before we'd have to updathe the icon cache subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/glade/${pkgver%.*}/glade-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-compile-warnings=no \ --enable-gtk-doc \ --enable-gladeui make } check() { xvfb-run make check } package() { make DESTDIR="$pkgdir" DATADIRNAME=share install paxmark -r "$pkgdir"/usr/bin/glade } sha512sums="e1bdc49b89bc5010c0abf6357dbae05c921182655b2ee5a4b161af6adfd596cfbcd495c9851ba956abbf3d6156616a6c0e94640cd72cee11551ca388674ac908 glade-3.22.1.tar.xz"