diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:23:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:23:30 (GMT) |
commit | 37f0ed2c99873a5f175a837ae46358664e34862a (patch) | |
tree | 1344f305d305ce170e6ccd7b64e8399662002f7b /abs/core/gettext/PKGBUILD | |
parent | 8f4942f5ce3e649edb41df16f416401ed2ca4ad6 (diff) | |
download | linhes_pkgbuild-37f0ed2c99873a5f175a837ae46358664e34862a.zip linhes_pkgbuild-37f0ed2c99873a5f175a837ae46358664e34862a.tar.gz linhes_pkgbuild-37f0ed2c99873a5f175a837ae46358664e34862a.tar.bz2 |
gettext .18.1.1
-glibc patch
Diffstat (limited to 'abs/core/gettext/PKGBUILD')
-rw-r--r-- | abs/core/gettext/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/core/gettext/PKGBUILD b/abs/core/gettext/PKGBUILD index d8946b0..e29c291 100644 --- a/abs/core/gettext/PKGBUILD +++ b/abs/core/gettext/PKGBUILD @@ -1,29 +1,36 @@ -# $Id: PKGBUILD 82270 2010-06-09 19:25:00Z tpowa $ -# Maintainer: +# $Id: PKGBUILD 142112 2011-11-05 10:14:09Z tpowa $ +# Maintainer: pkgname=gettext pkgver=0.18.1.1 -pkgrel=2 +pkgrel=4 pkgdesc="GNU internationalization library" arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gettext" +url="http://www.gnu.org/software/gettext/" license=('GPL') groups=('base') depends=('gcc-libs' 'acl' 'sh' 'glib2') optdepends=('cvs: for autopoint tool') -options=(!libtool) +options=(!libtool !docs) install=gettext.install source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz) md5sums=('3dd55b952826d2b32f51308f2f91aa89') build() { - cd $srcdir/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c + sed -i '/gets is a security hole/d' \ + gettext-{runtime/gnulib-lib,tools/{gnulib-lib,libgettextpo}}/stdio.in.h ./configure --prefix=/usr --enable-csharp - make || return 1 + make } +#check() { +# cd "${srcdir}/${pkgname}-${pkgver}" +# make check +#} + package() { - cd $srcdir/${pkgname}-${pkgver} - make DESTDIR=$pkgdir install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |