summaryrefslogtreecommitdiff
path: root/community/pidgin-libnotify/PKGBUILD
blob: 500f5d532b372b953dfdd154757ea9b704cd5f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Hugo Doria <hugodoria@gmail.com>
# Contributor pidgin-libnotify: 3ED <kas1987@o2.pl>

pkgname=pidgin-libnotify
pkgver=0.14
pkgrel=5
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' 'perlxml' 'gettext' 'notification-daemon')
makedepends=('libtool' 'intltool')
replaces=('gaim-libnotify')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/gaim-libnotify/$pkgname-$pkgver.tar.gz language_fixes.patch
        pidgin-libnotify-0.14-libnotify-0.7.patch)
md5sums=('bfb5368b69c02d429b2b17c00a6673c0'
         'e9bdbb3c7faa61f062fc64277457b6c0'
         '05538625f14d9f2c12adae5fa6a1fa26')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 -i "$srcdir/language_fixes.patch"
  patch -p0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch"
  ./configure --prefix=/usr --disable-deprecated  --disable-static
  make
  make DESTDIR="$pkgdir" install
}