updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / telepathy-indicator / PKGBUILD
blob72eae3b4c02f4efa0948c9aeb0c009c0d9d92e16
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=telepathy-indicator
3 pkgver=0.1.0
4 pkgrel=2
5 pkgdesc="Telepathy integration with the messaging menu"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/telepathy-indicator"
8 license=('GPL')
9 depends=('empathy' 'libindicate' 'libunity')
10 true && depends=('empathy' 'libindicate-gtk3' 'libunity')
11 makedepends=('intltool')
12 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
13 md5sums=('1e506d402b96d3d4c7143a299a146a22')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   sed -i 's/indicate-gtk-0.6/indicate-gtk3-0.6/' configure{,.ac}
19   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
20               --disable-static
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install
29   mkdir -p "$pkgdir/usr/share/indicators/messages/applications"
30   echo '/usr/share/applications/empathy.desktop' > "$pkgdir/usr/share/indicators/messages/applications/empathy"