# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=freetalk pkgver=3.2 pkgrel=3 pkgdesc="A console based Jabber client" arch=('i686' 'x86_64') url="http://www.gnu.org/software/freetalk" license=('GPL') depends=('loudmouth' 'guile') install=freetalk.install source=(http://savannah.gnu.org/download/freetalk/freetalk-$pkgver.tar.gz) md5sums=('ab09bd07dde158551f151d281b14642c') build() { cd $startdir/src/freetalk-$pkgver ./configure --prefix=/usr patch -p0 src/callbacks.cc < { > char *_tmp = (char*)strchr (from, '/'); > *_tmp = '\0'; > } EOF make || return 1 make DESTDIR=$startdir/pkg install || return 1 rm $pkgdir/usr/share/info/dir }