blob: 61d2a19a441b72ce8200fd35a544bc76294f7ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 176967 2013-02-03 06:53:37Z allan $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=gettext-mono
pkgver=0.18.2
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{,.sig})
md5sums=('0c86e5af70c195ab8bd651d17d783928'
'1a658e29a03ab42da6d2d468b0583407')
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
make
}
package() {
cd $srcdir/gettext-$pkgver
# libraries are installed manually
install -Dm644 gettext-runtime/intl-csharp/GNU.Gettext.dll \
$pkgdir/usr/lib/GNU.Gettext.dll
install -Dm644 gettext-tools/src/msgfmt.net.exe \
$pkgdir/usr/lib/gettext/msgfmt.net.exe
install -Dm644 gettext-tools/src/msgunfmt.net.exe \
$pkgdir/usr/lib/gettext/msgunfmt.net.exe
}
# vim: ft=sh ts=2 et
|