# $Id: PKGBUILD 144881 2011-12-08 21:14:16Z daniel $ # Maintainer: Daniel Isenmann pkgname=gettext-mono pkgver=0.18.1.1 pkgrel=1 pkgdesc="mono assemblies for GNU internationalization library" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gettext" license=('GPL') depends=('mono>=2.10.6') source=(ftp://ftp.gnu.org/pub/gnu/gettext/gettext-$pkgver.tar.gz) md5sums=('3dd55b952826d2b32f51308f2f91aa89') 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