diff options
author | root <root@rshg054.dnsready.net> | 2013-06-09 00:51:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-09 00:51:01 -0700 |
commit | 7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (patch) | |
tree | 9ec661d7828b93bd4d24723647adc0701d87eda2 /community/freetalk/PKGBUILD | |
parent | e90166c70f3a2bd27d8c914491f7e0510855fd3f (diff) |
Sun Jun 9 00:50:45 PDT 2013
Diffstat (limited to 'community/freetalk/PKGBUILD')
-rw-r--r-- | community/freetalk/PKGBUILD | 43 |
1 files changed, 22 insertions, 21 deletions
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 <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> 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 <<EOF -156c156,159 -< *strchr (from, '/') = '\0'; ---- -> { -> 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" } |