# $Id: PKGBUILD 215261 2014-06-17 21:23:14Z eric $ # Maintainer: Eric BĂ©langer pkgname=wxgtk pkgver=3.0.1 pkgrel=1 pkgdesc="GTK+ implementation of wxWidgets API for GUI" arch=('i686' 'x86_64') url="http://wxwidgets.org" license=('custom:wxWindows') depends=('gtk2' 'gstreamer0.10-base' 'libsm') makedepends=('gstreamer0.10-base-plugins' 'gconf' 'webkitgtk2' 'glu') optdepends=('webkitgtk2: for webview support') options=('!emptydirs') source=(http://downloads.sourceforge.net/wxwindows/wxWidgets-${pkgver}.tar.bz2) sha1sums=('73e58521d6871c9f4d1e7974c6e3a81629fddcf8') build() { cd wxWidgets-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \ --enable-graphics_ctx --enable-mediactrl --enable-webview --enable-stl --with-regex=builtin \ --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \ --disable-precomp-headers make make -C locale allmo } package() { cd wxWidgets-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }