summaryrefslogtreecommitdiff
path: root/community/pidgin-libnotify/PKGBUILD
blob: 33e67e6920b4a9a54bc840035a3f0c0c5f940d2f (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
36
37
# 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=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
}