PKGBUILD 981 Bytes
Newer Older
1 2 3 4 5 6 7 8
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
9

Jan Mette's avatar
Jan Mette committed
10
pkgname=gettext
11
pkgver=0.18.1.1
12
pkgrel=3
Jan Mette's avatar
Jan Mette committed
13
pkgdesc="GNU internationalization library"
14
arch=('i686' 'x86_64')
Jan Mette's avatar
Jan Mette committed
15 16 17
url="http://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
18
depends=('acl' 'gcc-libs' 'glib2' 'libcroco' 'sh')
Jan Mette's avatar
Jan Mette committed
19 20 21 22
optdepends=('cvs: for autopoint tool')
options=(!libtool)
install=gettext.install
source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz)
23
md5sums=('3dd55b952826d2b32f51308f2f91aa89')
Jan Mette's avatar
Jan Mette committed
24 25

build() {
26
  cd "${srcdir}/${pkgname}-${pkgver}"
Jan Mette's avatar
Jan Mette committed
27 28
  sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
  ./configure --prefix=/usr --enable-csharp
29
  make
30 31 32
}

package() {
33 34
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
Jan Mette's avatar
Jan Mette committed
35
}