summaryrefslogtreecommitdiff
path: root/community/pidgin-libnotify/PKGBUILD
blob: c56be9118c8f1367628289432a22d71f9ed2d427 (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
30
31
32
33
34
35
# 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=6
arch=('i686' 'x86_64' 'mips64el')
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 pidgin-libnotify-showbutton.patch)

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"

  ./configure --prefix=/usr --disable-deprecated  --disable-static
  make
}
package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}
md5sums=('bfb5368b69c02d429b2b17c00a6673c0'
         'e9bdbb3c7faa61f062fc64277457b6c0'
         '05538625f14d9f2c12adae5fa6a1fa26'
         'efe1e86aa1e0bc9f7d20efe7f34ad4a7')