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

# source: james
TARBALL=dunst-1.1.0.tar.bz2
MD5SUM=b44c0cb8ed62e3d1d1bc899615170f3d
SRC_URL=https://github.com/knopwob/dunst/archive/v1.1.0.tar.gz
BUNDLE=

SLACKREQ='dbus glib' # libxdg-basedir build-time only
SLACKDESC='dunst: dunst 1.1.0 (Desktop notification server)  
dunst:  
dunst: Dunst is a lightweight replacement for the notification-daemons 
dunst: provided by most desktop environments. It'\''s very customizable, doesn'\''t 
dunst: depend on any toolkits and therefore fits in those windowmanager 
dunst: centric setups we all love to customize to perfection.  
dunst: 
dunst: 
dunst: 
dunst: 
dunst: 
'

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	mkdir -p etc/xdg/dunst &&
	cp $CHROOT_DIR/tmp/pkg/dunstrc-1.0.0 etc/xdg/dunst/dunstrc
}

### build
pkg_build() {
	cd /tmp/dunst*
	sed -i -e '/notify_notification_new/ s|icon)|icon,NULL)|' dunstify.c
	make $MAKEFLAGS PREFIX=/usr &&
	make PREFIX=/usr install &&
	pkg_build_slackdesc
}


