1 # $Id: PKGBUILD 30624 2009-03-21 03:28:13Z allan $
2 # Maintainer: judd <jvinet@zeroflux.org>
3 # Contributor: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
9 pkgdesc="GNU internationalization library, with debian patches"
11 url="http://www.gnu.org/software/gettext"
14 depends=('gcc-libs' 'acl')
15 optdepends=('cvs: for autopoint tool')
19 install=gettext.install
20 source=('ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz'
21 'http://ftp.de.debian.org/debian/pool/main/g/gettext/gettext_0.17-10.debian.tar.gz')
22 md5sums=('58a2bc6d39c0ba57823034d55d65d606' 'd1b3a95a5f9d8f99815ca7654a80cd12')
25 cd $srcdir/${_pkgname}-${pkgver}
26 #sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
28 patch -Np1 < ../debian/patches/01
29 patch -Np1 < ../debian/patches/02
30 patch -Np1 < ../debian/patches/03
31 patch -Np1 < ../debian/patches/04
32 patch -Np1 < ../debian/patches/05
33 patch -Np1 < ../debian/patches/06
34 patch -Np1 < ../debian/patches/07
35 patch -Np1 < ../debian/patches/08
36 patch -Np1 < ../debian/patches/09
37 patch -Np1 < ../debian/patches/10
39 ./configure --prefix=/usr --enable-csharp
41 make DESTDIR=$pkgdir install
43 rm -f $pkgdir/usr/share/info/dir
44 gzip -9 $pkgdir/usr/share/info/*