# Description: connector python for libnotify
# URL: http://www.galago-project.org/
# Packager: pierre at nutyx dot org
# Depends on: libnotify python-gtk dbus-glib 


name=python-notify
version=0.1.1
release=1

source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-$version.tar.gz
	http://downloads.nutyx.org/files/patchs/$name/python-notify-0.1.1-fix-gtk-symbols-1.patch
	http://downloads.nutyx.org/files/patchs/$name/libnotify07.patch)

build() {
	cd notify-python-$version
	patch  -p1 < $SRC/libnotify07.patch
	patch -Np1 -i ../python-notify-0.1.1-fix-gtk-symbols-1.patch
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}
  
