updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gettext-debian / PKGBUILD
blobaa0589a799bcc38c7103bd2b988a71d19d5636f9
1 # $Id: PKGBUILD 30624 2009-03-21 03:28:13Z allan $
2 # Maintainer: judd <jvinet@zeroflux.org>
3 # Contributor: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
5 pkgname=gettext-debian
6 _pkgname=gettext
7 pkgver=0.17
8 pkgrel=3
9 pkgdesc="GNU internationalization library, with debian patches"
10 arch=(i686 x86_64)
11 url="http://www.gnu.org/software/gettext"
12 license=('GPL')
13 groups=('base')
14 depends=('gcc-libs' 'acl')
15 optdepends=('cvs: for autopoint tool')
16 options=(!libtool)
17 provides=('gettext')
18 conflicts=('gettext')
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')
24 build() {
25   cd $srcdir/${_pkgname}-${pkgver}
26   #sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
27   # applying patches
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
40   make || return 1
41   make DESTDIR=$pkgdir install
42   
43   rm -f $pkgdir/usr/share/info/dir
44   gzip -9 $pkgdir/usr/share/info/*