# Maintainer: Daenyth # Contributor: Hugo Doria # Contributor pidgin-libnotify: 3ED pkgname=pidgin-libnotify pkgver=0.14 pkgrel=8 arch=('i686' 'x86_64') pkgdesc="pidgin plugin that enables popups when someone logs in or messages you." url="http://gaim-libnotify.sourceforge.net/" license=('GPL') depends=('pidgin' 'libnotify') makedepends=('intltool') optdepends=('notification-daemon') source=(http://downloads.sourceforge.net/sourceforge/gaim-libnotify/$pkgname-$pkgver.tar.gz language_fixes.patch pidgin-libnotify-0.14-libnotify-0.7.patch pidgin-libnotify-showbutton.patch pidgin-libnotify-getfocus.patch) md5sums=('bfb5368b69c02d429b2b17c00a6673c0' 'e9bdbb3c7faa61f062fc64277457b6c0' '05538625f14d9f2c12adae5fa6a1fa26' 'efe1e86aa1e0bc9f7d20efe7f34ad4a7' 'e624998744d1c2fb8e2c6be94b04c38a') build() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 -i "$srcdir/language_fixes.patch" patch -Np0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch" patch -Np0 -i "$srcdir/pidgin-libnotify-showbutton.patch" patch -Np0 -i "$srcdir/pidgin-libnotify-getfocus.patch" ./configure --prefix=/usr --disable-deprecated --disable-static make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }