summaryrefslogtreecommitdiff
path: root/extra/gettext-mono
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gettext-mono')
-rw-r--r--extra/gettext-mono/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/gettext-mono/PKGBUILD b/extra/gettext-mono/PKGBUILD
new file mode 100644
index 000000000..4ecbe0a05
--- /dev/null
+++ b/extra/gettext-mono/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 69576 2010-02-21 06:28:43Z allan $
+# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+
+pkgname=gettext-mono
+pkgver=0.17
+pkgrel=4
+pkgdesc="mono assemblies for GNU internationalization library"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gettext"
+license=('GPL3')
+depends=('mono>=1.9')
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/gettext-$pkgver.tar.gz)
+md5sums=('58a2bc6d39c0ba57823034d55d65d606')
+
+build() {
+ # get rid of that .wapi errors; thanks to brice
+ mkdir -p $srcdir/weird
+ export MONO_SHARED_DIR=$srcdir/weird
+
+ cd $srcdir/gettext-$pkgver
+ ./configure --prefix=/usr --enable-csharp=mono || return 1
+ make || return 1
+ # libraries are installed manually
+ install -Dm644 gettext-runtime/intl-csharp/GNU.Gettext.dll \
+ $pkgdir/usr/lib/GNU.Gettext.dll || return 1
+ install -Dm644 gettext-tools/src/msgfmt.net.exe \
+ $pkgdir/usr/lib/gettext/msgfmt.net.exe || return 1
+ install -Dm644 gettext-tools/src/msgunfmt.net.exe \
+ $pkgdir/usr/lib/gettext/msgunfmt.net.exe || return 1
+}
+# vim: ft=sh ts=2 et