From 7b378b1b5b346bd49a5ab1652214fb34d03de3a9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 9 Jun 2013 00:51:01 -0700 Subject: Sun Jun 9 00:50:45 PDT 2013 --- community/freetalk/PKGBUILD | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'community/freetalk/PKGBUILD') diff --git a/community/freetalk/PKGBUILD b/community/freetalk/PKGBUILD index 1f0a93f26..3eadd052b 100644 --- a/community/freetalk/PKGBUILD +++ b/community/freetalk/PKGBUILD @@ -1,35 +1,36 @@ -# $Id: PKGBUILD 65202 2012-02-20 10:13:19Z spupykin $ +# $Id: PKGBUILD 92552 2013-06-08 11:18:48Z bpiotrowski $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=freetalk pkgver=3.2 -pkgrel=5 +pkgrel=6 pkgdesc="A console based Jabber client" arch=('i686' 'x86_64') url="http://www.gnu.org/software/freetalk" license=('GPL') -depends=('loudmouth' 'guile') +depends=('loudmouth' 'guile1.8') install=freetalk.install -source=(http://savannah.gnu.org/download/freetalk/freetalk-$pkgver.tar.gz) -md5sums=('ab09bd07dde158551f151d281b14642c') +source=(http://savannah.gnu.org/download/freetalk/freetalk-$pkgver.tar.gz + freetalk-3.2-glibc210.patch) +md5sums=('ab09bd07dde158551f151d281b14642c' + '0da1d0a0f606d2b279fe676a80a3eb32') -build() { - cd $srcdir/freetalk-$pkgver - - ./configure --prefix=/usr - - patch -p0 src/callbacks.cc < { -> char *_tmp = (char*)strchr (from, '/'); -> *_tmp = '\0'; -> } -EOF +prepare(){ + cd $pkgname-$pkgver + patch -Np1 -i ../freetalk-3.2-glibc210.patch +} +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-rpath \ + GUILE=/usr/bin/guile1.8 \ + GUILE_CONFIG=/usr/bin/guile-config1.8 make - make DESTDIR=$pkgdir install - rm $pkgdir/usr/share/info/dir +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/share/info/dir" } -- cgit v1.2.3-54-g00ecf