1 # Maintainer: YL3GDY <yl3gdy at archlinux dot us>
7 license=('custom:LGPL')
8 url="http://www.fltk.org/"
9 depends=('sh' 'libjpeg' 'libpng' 'libxft' 'libxinerama' 'alsa-lib' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils')
10 makedepends=('mesa' 'doxygen')
12 provides=('fltk=1.1.10 fltk-docs=1.1.10')
13 source=(http://ftp.easysw.com/pub/fltk/$pkgver/fltk-$pkgver-source.tar.gz)
15 md5sums=('e6378a76ca1ef073bcb092df1ef3ba55')
17 pkgdesc="Graphical user interface toolkit for X. Stable 1.1.x branch (with documentation)"
20 cd "$srcdir/fltk-$pkgver"
21 ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
28 cd "$srcdir/fltk-$pkgver"
29 make DESTDIR="$pkgdir" install install-desktop
30 chmod 644 "$pkgdir"/usr/lib/*.a
31 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
33 # Install documentation
34 cd "$srcdir/fltk-$pkgver/documentation"
35 install -d "$pkgdir"/usr/share/doc/fltk/
37 make DESTDIR="$pkgdir" install