updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / prpltwtr / PKGBUILD
blob607ee64e7284273ab94aea8314cd9dbd8fc9f1cd
1 # Contributor: xbj9000 <xbj9000@comcast.net>
2 pkgname=prpltwtr
3 pkgver=0.5.2
4 pkgrel=1
5 pkgdesc="A libpurple (Pidgin, Finch, Empathy* etc) plugin which treats microblogging (Twitter, identi.ca, status.net, etc) as IM protocols."
6 arch=(i686 x86_64)
7 url="http://code.google.com/p/prpltwtr/"
8 license=('GPL')
9 depends=('libpurple')
10 makedepends=('pkgconfig')
11 install=$pkgname.install
12 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('551376dcb06e619acefbc707fe5c81e2')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   
18   make || return 1
19   #make -j1 DESTDIR="$pkgdir" install
20   install -Dm644 $pkgname.so $pkgdir/usr/lib/purple-2/$pkgname.so
21   for dir in 16 22 48; do
22     install -Dm644 data/prpltwtr$dir.png $pkgdir/usr/share/pixmaps/protocols/$dir/prpltwtr.png 
23   done
24   install -Dm644 data/im-twitter.png $pkgdir/usr/share/icons/hicolor/48x48/apps/im-twitter.png
25   install -Dm644 data/twitter.profile $pkgdir/usr/share/osso-rtcom/twitter.profile
28 # vim:set ts=2 sw=2 et: