updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / mingw32-gettext-static / PKGBUILD
blob81df78ed9ddcf2709514c29a06f28006ad0ca889
1 # Maintainer: napa3um@gmail.com
3 pkgname=mingw32-gettext-static
4 pkgver=0.18.1.1
5 pkgrel=1
6 arch=(i686 x86_64)
7 pkgdesc="gettext (mingw32)"
8 depends=(mingw32-runtime mingw32-libiconv-static)
9 makedepends=(mingw32-gcc)
10 license=(GPL LGPL)
11 url="http://www.gnu.org/software/gettext/"
12 source=(http://ftp.gnu.org/pub/gnu/gettext/gettext-$pkgver.tar.gz)
13 md5sums=('3dd55b952826d2b32f51308f2f91aa89')
14 options=(!strip)
16 build()
18   cd $srcdir/gettext-$pkgver/gettext-runtime
19 LDFLAGS=''
20   ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32 --enable-static --disable-shared || return 1
21   make || return 1
22   make DESTDIR=$pkgdir install || return 1
24   cd $pkgdir
25   rm -rf usr/i486-mingw32/share