1 # Maintainer: Rémy Oudompheng <oudomphe@phare.normalesup.org>
6 pkgdesc="A library providing a set of interfaces for accessibility (mingw32)"
9 depends=(mingw32-glib2)
10 makedepends=(mingw32-gcc)
12 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbase}/${pkgver%.*}/${_pkgbase}-${pkgver}.tar.xz)
13 url='http://www.gtk.org/'
14 sha256sums=('8b22f0e7803dd3734c676ccd68ea999ff1156ca49d99c3de5c1d269ad0c3739d')
17 cd "${srcdir}/atk-${pkgver}"
19 export CFLAGS="-O2 -mms-bitfields"
20 export PKG_CONFIG_LIBDIR="/usr/i486-mingw32/lib/pkgconfig/"
21 unset LDFLAGS PKG_CONFIG_PATH
24 --prefix=/usr/i486-mingw32 \
31 cd "${srcdir}/atk-${pkgver}"
32 mkdir -p "$pkgdir/usr/i486-mingw32/lib"
33 make DESTDIR="${pkgdir}" install
36 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
37 | xargs -rtl1 i486-mingw32-strip -g
38 rm -rf usr/i486-mingw32/share/gtk-doc