### this file is sourced not run
PKGVER=3.8.5 # latest version that supports GTK2
PKGBUILD=1
PKGARCH=i686

# source: james
TARBALL=glade3-$PKGVER.tar.xz
MD5SUM=4e4b4f5ee34a03e017e4cef97d796c1f
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/glade/3.8/$TARBALL
BUNDLE=

SLACKREQ=gtk2_32
SLACKDESC="glade32: glade32 $PKGVER (GTK GUI Designer)  
glade32:  
glade32: Glade is a what-you-see-what-you-get designer for GTK GUI elements. The 
glade32: output is an XML file which represents the GUI that can be loaded by 
glade32: GTK runtime library, either in a C program or in scripting languages 
glade32: using tools such as gtk-server. This glade is for GTK2.  
glade32: 
glade32: This contains 32-bit version of the library.
glade32: 
glade32: 
glade32: 
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-scrollkeeper"
	CFLAGS="$CFLAGS -Wno-error=format-nonliteral" # required by gcc 7.x
	pkg_build_autoconf && pkg_build_slackdesc &&
	rm /usr/share/icons/hicolor/icon-theme.cache
}


