updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / mit-barnowl / PKGBUILD
blob58fa01987c1f71e1094a770bd3d73afb98089a2c
1 # Maintainer: Pavel Panchekha <pavpanchekha@gmail.com>
2 # Contributor: TDY <tdy@gmx.com>
4 pkgname=mit-barnowl
5 pkgver=1.7.1
6 pkgrel=1
7 pkgdesc="A console chat client for the AIM, IRC, Jabber, and Zephyr protocols"
8 arch=('i686' 'x86_64')
9 url="http://barnowl.mit.edu/"
10 license=('BSD' 'GPL')
11 depends=('glib2' 'heimdal' 'perl-authen-sasl' 'perl-digest-sha1'
12          'perl-io-socket-ssl' 'perl-class-accessor' 'perl-net-dns'
13          'perl-net-irc' 'perl-par' 'perl-text-autoformat' 'mit-zephyr')
14 makedepends=('zip')
15 install=barnowl.install
16 source=(http://barnowl.mit.edu/dist/barnowl-$pkgver-src.tgz)
17 md5sums=('ada0382d8449905f5480657b7342cc57')
19 build() {
20   cd $srcdir/barnowl-$pkgver-src
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd $srcdir/barnowl-$pkgver-src
27   make DESTDIR=$pkgdir install
28   install -dm755 $pkgdir/usr/share/{barnowl/examples,doc/barnowl}
29   install -m644 examples/* $pkgdir/usr/share/barnowl/examples/
30   install -m644 doc/*.txt $pkgdir/usr/share/doc/barnowl/
31   install -Dm644 doc/barnowl.1 "$pkgdir/usr/share/man/man1/barnowl.1"
32   install -Dm644 COPYING $pkgdir/usr/share/licenses/barnowl/COPYING