summaryrefslogtreecommitdiff
path: root/core/gettext/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gettext/PKGBUILD')
-rw-r--r--core/gettext/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/core/gettext/PKGBUILD b/core/gettext/PKGBUILD
new file mode 100644
index 000000000..f00a1c31a
--- /dev/null
+++ b/core/gettext/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 112865 2011-03-07 11:27:12Z stephane $
+# Maintainer:
+
+pkgname=gettext
+pkgver=0.18.1.1
+pkgrel=3
+pkgdesc="GNU internationalization library"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gettext/"
+license=('GPL')
+groups=('base')
+depends=('gcc-libs' 'acl' 'sh' 'glib2')
+optdepends=('cvs: for autopoint tool')
+options=(!libtool)
+install=gettext.install
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz)
+md5sums=('3dd55b952826d2b32f51308f2f91aa89')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
+ ./configure --prefix=/usr --enable-csharp
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}