summaryrefslogtreecommitdiff
path: root/community/freetalk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freetalk/PKGBUILD')
-rw-r--r--community/freetalk/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/freetalk/PKGBUILD b/community/freetalk/PKGBUILD
new file mode 100644
index 000000000..ce4fb138d
--- /dev/null
+++ b/community/freetalk/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 13426 2010-03-23 12:00:40Z allan $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=freetalk
+pkgver=3.2
+pkgrel=4
+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 <<EOF
+156c156,159
+< *strchr (from, '/') = '\0';
+---
+> {
+> char *_tmp = (char*)strchr (from, '/');
+> *_tmp = '\0';
+> }
+EOF
+
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+
+ rm $pkgdir/usr/share/info/dir
+}