updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gnome-shell-pidgin / PKGBUILD
blob44aea16801cf5e56275640d7e2febb12de72d187
1 # Contributor: Kozec <kozec at kozec dot com>
2 pkgname=gnome-shell-pidgin
3 pkgver=0.1
4 _pidginver=2.10.0
5 pkgrel=3
6 pkgdesc="Plugin for the Pidgin IM providing integration with gnome-shell user status menu."
7 url="http://sourceforge.net/projects/gnomeshpidgin/"
8 depends=('pidgin' 'dbus-core' 'libpurple')
9 source=(
10         "http://downloads.sourceforge.net/gnomeshpidgin/gnomeShellPidgin.c"
11         "http://developer.pidgin.im/viewmtn/revision/downloadfile/d88754164e558a337e137cc26d9f3508f352be49/libpurple/internal.h"
12         "include_dbus_server_add_version.patch"
13         "pidgin-status-to-shell.patch"
14         "Makefile"
15         )
16 license=('GPL')
17 arch=('i686' 'x86_64')
19 build() {
20         cd "$srcdir"
21         mkdir -p "build"
22         cd "build"
23         cp -L ../gnomeShellPidgin.c ../Makefile ../internal.h .
24         patch -Np0 -i ../include_dbus_server_add_version.patch || return 1
25         patch -Np0 -i ../pidgin-status-to-shell.patch || return 1
26         make gnomeShellPidgin.so || return 1
29 package() {
30         mkdir -p "$pkgdir/usr/lib/purple-2/"
31         cd "$srcdir/build"
32         make DESTDIR="$pkgdir" install
35 md5sums=('09c4edcd6a1ce1c7008d942862cf7562'
36          '049cda9a389f768064bc5c1af6fff341'
37          'c2e3374410b89057de83e3068d61e087'
38          '54d5b99d996a12add5d4bedf9370e0ec'
39          'aaf9f967f51ac5ea193ff40913d509a3')