# Maintainer: Natanael Copa pkgname=glade pkgver=3.16.0 pkgrel=0 pkgdesc="User Interface Designer for GTK+ and GNOME" url="http://glade.gnome.org/" arch="all" license="GPL" depends= makedepends="gtk+3.0-dev libxml2-dev itstool gtk-doc" install= subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnome.org/pub/GNOME/sources/glade/${pkgver%.*}/glade-$pkgver.tar.xz " _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-gtk-doc \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="856db535f5cce0d9d1b553896bfb8361 glade-3.16.0.tar.xz" sha256sums="b80773a294d3af07739d9d53bae12e11cf0bbf420bbc8931cc5e20b2647e3626 glade-3.16.0.tar.xz" sha512sums="4a09746f2ca5a30b2550170c6dfec81f7d9d1694562ba877773ffe76583797fa601457b540058a512264fde0155e10b5b7e0ef3008272ee63b92c3a7fa05ae2a glade-3.16.0.tar.xz"