1 # Maintainer: Chad Aeschliman <chadaeschliman at gmail dot com>
2 # Contributor: eric <eric@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: Stefan Husmann <stefan-husmann@t-oline.de>
6 pkgname=recode-pybliographer
9 url="http://directory.fsf.org/recode.html"
10 arch=('i686' 'x86_64')
12 pkgdesc="Converts files between various character sets and usages patched with pybliographer patch"
15 install=recode-pybliographer.install
16 source=("http://recode.progiciels-bpi.ca/archives/recode.tar.gz" \
18 md5sums=('be3f40ad2e93dae5cd5f628264bf1877' '23564aea992408803eea0fecf12952d3')
21 cd $srcdir/recode-$pkgver
23 # Patching it with pybliographer recode patch and another small
24 # patch needed to compile
25 if [ "$CARCH" = "x86_64" ]; then
26 rm config.sub config.guess
27 install -Dm755 /usr/share/libtool/config/config.sub config.sub
28 install -Dm755 /usr/share/libtool/config/config.guess config.guess
31 patch -Np1 -i $srcdir/recode.patch || return 1
32 ./configure --prefix=/usr --infodir=/usr/share/info || return 1
34 make prefix=$pkgdir/usr infodir=$pkgdir/usr/share/info \
36 find $pkgdir -name '*.la' -exec rm {} \; || return 1
37 rm $pkgdir/usr/share/info/dir || return 1
38 for _i in $pkgdir/usr/share/info/recode.info*