### this file is sourced not run
PKGVER=0.5.2
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 7.5 downgraded to 0.5.2 (last version that supports gtk2)
TARBALL=libnotify-0.5.2.tar.bz2
MD5SUM=4361058ae4e28a9ffce6764e7d03acd1
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/libnotify/0.5/$TARBALL
BUNDLE=

SLACKREQ='gtk2 libdbus-glib'
SLACKDESC='libnotify: libnotify 0.5.2 (Desktop notification library)  
libnotify:  
libnotify: The libnotify library is used to send desktop notifications to a 
libnotify: notification daemon, as defined in the Desktop Notifications spec. 
libnotify: These notifications can be used to inform the user about an event 
libnotify: or display some form of information without getting in the user'\''s 
libnotify: way.  
libnotify: 
libnotify: 
libnotify: 
libnotify:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	#
	# Put the package in /usr/local so it doesn't conflict with libnotify-gtk3,
	# except the binary which we still put in /usr/bin for compatibility reasons.
	# Snce it is in /usr/local, pkg-config would still find it.
	#
	CONFFLAGS="\
		--prefix=/usr/local  \
		--libdir=/usr/local/$LIBDIR \
		--sysconfdir=/etc    \
		--localstatedir=/var \
		--bindir=/usr/bin    \
		--disable-static     \
	" &&
	pkg_build_autoconf && 
	pkg_build_slackdesc
}


