#Packager: Dimitris Tzemos pkgname=glade3 pkgver=3.8.6 pkgrel=1dj source=("https://download.gnome.org/sources/glade3/3.8/$pkgname-$pkgver.tar.xz" "no-check-format-nonliteral.patch") docs=("AUTHORS" "COPYING*" "INSTALL" "NEWS" "README*" "TODO") url=https://glade.gnome.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "glade3 (Glade UI Designer version 3)" "Glade is a RAD tool to enable quick and easy development of user" "interfaces for the GTK+ toolkit and the GNOME desktop environment." "The user interfaces designed in Glade are saved as XML, and by using" "the GtkBuilder GTK+ object these can be loaded by applications" "dynamically as needed." "" "Homepage: http://glade.gnome.org/" ) build() { cd $startdir/src/$pkgname-$pkgver patch -p2 -i "$startdir/src/no-check-format-nonliteral.patch" || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-scrollkeeper \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || exit 1 # Don't ship .la files: rm -f $startdir/pkg/usr/lib${LIBDIRSUFFIX}/*.la || exit 1 }