updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / mingw32-pcre / PKGBUILD
blobded05bfd523208a77824254b2f19f7591b6ee534
1 # Contributor: Andre Klitzing <andre () incubo () de>
2 # Maintainer: schalaalexiazeal@gmail.com
3 _pkgname=pcre
4 _target=i486-mingw32
5 pkgname=mingw32-pcre
6 pkgver=8.21
7 pkgrel=1
8 pkgdesc="A library that implements Perl 5-style regular expressions"
9 arch=('i686' 'x86_64')
10 url="http://pcre.sourceforge.net"
11 license=('custom')
12 options=(!strip !buildflags)
13 makedepends=('mingw32-gcc' 'mingw32-binutils' 'mingw32-w32api')
14 source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/$_pkgname/$_pkgname-$pkgver.tar.bz2)
15 md5sums=('0a7b592bea64b7aa7f4011fc7171a730')
17 build() {
18   cd "$srcdir/$_pkgname-$pkgver"
20   ./configure --prefix=/usr/${_target} --build=$CHOST --host=${_target} \
21   --enable-utf8 --enable-unicode-properties || return 1
22   make || return 1
23   make DESTDIR="$pkgdir" install