# Maintainer: Natanael Copa pkgname=glade3 pkgver=3.8.2 pkgrel=0 pkgdesc="a RAD tool to enable quick & easy development of user interfaces for GTK+" url="http://glade.gnome.org/" arch="all" license="GPL" depends= makedepends="gtk+2.0-dev libxml2-dev" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-dev $pkgname-lang" source="http://ftp.gnome.org/pub/GNOME/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-scrollkeeper \ --disable-gnome \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/glade3/modules/*.la } md5sums="b5da0ce717b2dc710e93a10b97c0f9ce glade3-3.8.2.tar.xz"