diff options
Diffstat (limited to 'extra/gettext-mono')
-rw-r--r-- | extra/gettext-mono/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/gettext-mono/PKGBUILD b/extra/gettext-mono/PKGBUILD index 9e89644a8..61d2a19a4 100644 --- a/extra/gettext-mono/PKGBUILD +++ b/extra/gettext-mono/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 144881 2011-12-08 21:14:16Z daniel $ +# $Id: PKGBUILD 176967 2013-02-03 06:53:37Z allan $ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=gettext-mono -pkgver=0.18.1.1 +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) -md5sums=('3dd55b952826d2b32f51308f2f91aa89') +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 @@ -18,14 +19,18 @@ build() { export MONO_SHARED_DIR=$srcdir/weird cd $srcdir/gettext-$pkgver - ./configure --prefix=/usr --enable-csharp=mono || return 1 - make || return 1 + ./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 || return 1 + $pkgdir/usr/lib/GNU.Gettext.dll install -Dm644 gettext-tools/src/msgfmt.net.exe \ - $pkgdir/usr/lib/gettext/msgfmt.net.exe || return 1 + $pkgdir/usr/lib/gettext/msgfmt.net.exe install -Dm644 gettext-tools/src/msgunfmt.net.exe \ - $pkgdir/usr/lib/gettext/msgunfmt.net.exe || return 1 + $pkgdir/usr/lib/gettext/msgunfmt.net.exe } # vim: ft=sh ts=2 et |