1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgbase=xchat-indicator
3 pkgname=xchat-indicator
4 true && pkgname=('xchat-indicator' 'xchat-gnome-indicator')
8 url="https://launchpad.net/xchat-indicator"
11 makedepends=('libindicate' 'gtk2' 'libunity')
12 source=(http://launchpad.net/$pkgbase/trunk/$pkgver/+download/$pkgbase-$pkgver.tar.gz)
13 md5sums=('891e20928a7c31f3b70245c874a5a07f')
16 cd "$srcdir/$pkgbase-$pkgver"
18 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
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')