# $Id: PKGBUILD 907 2009-08-07 23:28:13Z mherych $ # Maintainer: Mateusz Herych pkgname=ekg2 pkgver=20090807 pkgrel=1 pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client" arch=('i686' 'x86_64') url="http://ekg2.org/" license=('GPL') depends=('aspell' 'python' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib' 'gpgme' 'expat' 'libjpeg') optdepends=( 'xosd: for xosd support' 'sqlite3: sqlite support') provides=('ekg2-unicode') source=(http://pl.ekg2.org/ekg2-$pkgver.tar.bz2) md5sums=('a0d7b1fea1c1629744710ea88d8231d5') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr \ --with-libgadu \ --with-xosd \ --enable-unicode \ --without-gtk \ --without-gpg make || return 1 make DESTDIR=$pkgdir install || return 1 rm -rf $pkgdir/usr/lib/perl5/core_perl/perllocal.pod mv $pkgdir/usr/libexec/ioctld $pkgdir/usr/lib/ekg2/ioctld rm -rf $pkgdir/usr/libexec chmod -R 755 $pkgdir/usr/lib/perl5 }