1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
6 pkgdesc="Pixman library (mingw32)"
8 url="http://xorg.freedesktop.org"
10 depends=(mingw32-runtime)
11 makedepends=(mingw32-gcc)
13 source=(http://xorg.freedesktop.org/releases/individual/lib/pixman-${pkgver}.tar.bz2)
14 sha1sums=('a3b73c3ea6cada20d705203a394f574aa69e2177')
17 cd "${srcdir}/pixman-${pkgver}"
18 export CFLAGS="-O2 -mms-bitfields"
19 export PKG_CONFIG_LIBDIR="/usr/i486-mingw32/lib/pkgconfig/"
20 unset LDFLAGS PKG_CONFIG_PATH
22 --prefix=/usr/i486-mingw32 \
30 cd "${srcdir}/pixman-${pkgver}"
31 make DESTDIR="${pkgdir}" install
34 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
35 | xargs -rtl1 i486-mingw32-strip -g
36 rm -rf usr/i486-mingw32/share