1 # Maintainer: Mihai Militaru <mihai dot militaru at xmpp dot ro>
7 pkgdesc="Graphical user interface toolkit for X"
10 url="http://www.fltk.org/"
11 depends=('libjpeg' 'libpng' 'gcc-libs' 'libxft' 'libxinerama')
12 optdepends=('bash: to use fltk-config')
14 source=("http://ftp.easysw.com/pub/$_realname/$pkgver/$_realname-$pkgver-source.tar.gz")
15 md5sums=('f055f9984c37713cdd0a9f9546b9d7da')
20 cd "$srcdir/$_realname-$pkgver"
21 export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
22 export LDFLAGS="${LDFLAGS//,--as-needed}"
23 ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
28 cd "$srcdir/$_realname-$pkgver"
29 make DESTDIR=${pkgdir} install
30 chmod 644 ${pkgdir}/usr/lib/*.a