# Maintainer: Natanael Copa pkgname=glade3 pkgver=3.8.5 pkgrel=1 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 paxctl" 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 \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-compile-warnings=no \ --disable-scrollkeeper \ --disable-gnome \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 paxctl -c -r "$pkgdir"/usr/bin/glade-3 rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/glade3/modules/*.la } md5sums="4e4b4f5ee34a03e017e4cef97d796c1f glade3-3.8.5.tar.xz" sha256sums="58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735 glade3-3.8.5.tar.xz" sha512sums="722a33f1a1ec3baa785bf3c6f7f5ec2cbe7cf6fe44c9c26d33728de16f2856cbb1ace0cd38c5b5356081e326666cc82fd00f2b6af53bd06bb832079610042985 glade3-3.8.5.tar.xz"