updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / xchat-indicator / PKGBUILD
blob68af7a9b83a672c84ef2bdd7eebf345fb4b8805b
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgbase=xchat-indicator
3 pkgname=xchat-indicator
4 true && pkgname=('xchat-indicator' 'xchat-gnome-indicator')
5 pkgver=0.3.10
6 pkgrel=2
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/xchat-indicator"
9 license=('GPL')
10 options=('!libtool')
11 makedepends=('libindicate' 'gtk2' 'libunity')
12 source=(http://launchpad.net/$pkgbase/trunk/$pkgver/+download/$pkgbase-$pkgver.tar.gz)
13 md5sums=('891e20928a7c31f3b70245c874a5a07f')
15 build() {
16   cd "$srcdir/$pkgbase-$pkgver"
18   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
19               --disable-static
20   make
23 package_xchat-indicator() {
24   pkgdesc="Plugin to make XChat use the messaging indicator"
25   depends=('xchat' 'libindicate' 'libunity')
27   cd "$srcdir/$pkgbase-$pkgver"
29   install -Dm644 .libs/indicator.so "$pkgdir/usr/lib/xchat/plugins/indicator.so"
30   mkdir -p $pkgdir/usr/share/indicators/messages/applications
31   echo '/usr/share/applications/xchat.desktop' > $pkgdir/usr/share/indicators/messages/applications/xchat
34 package_xchat-gnome-indicator() {
35   pkgdesc="Plugin to make XChat-GNOME use the messaging indicator"
36   depends=('xchat-gnome' 'libindicate' 'libunity')
38   cd "$srcdir/$pkgbase-$pkgver"
40   install -Dm644 .libs/indicator.so "$pkgdir/usr/lib/xchat-gnome/plugins/indicator.so"
41   mkdir -p $pkgdir/usr/share/indicators/messages/applications
42   echo '/usr/share/applications/xchat-gnome.desktop' > $pkgdir/usr/share/indicators/messages/applications/xchat-gnome
45 pkgdesc="Plugin to make XChat and XChat-GNOME use the messaging indicator"
46 depends=('xchat' 'xchat-gnome-git' 'libindicate' 'libunity')
47 true && depends=()