updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / fltk13 / PKGBUILD
blob608edde96aeb5393b0fd1b1c382a6a740bfd5665
1 # Maintainer: Mihai Militaru <mihai dot militaru at xmpp dot ro>
3 pkgname=fltk13
4 _realname=fltk
5 pkgver=1.3.0rc6
6 pkgrel=1
7 pkgdesc="Graphical user interface toolkit for X"
8 arch=('i686' 'x86_64')
9 license=('LGPL')
10 url="http://www.fltk.org/"
11 depends=('libjpeg' 'libpng' 'gcc-libs' 'libxft' 'libxinerama')
12 optdepends=('bash: to use fltk-config')
13 makedepends=('mesa')
14 source=("http://ftp.easysw.com/pub/$_realname/$pkgver/$_realname-$pkgver-source.tar.gz")
15 md5sums=('f055f9984c37713cdd0a9f9546b9d7da')
16 provides=('fltk')
17 conflicts=('fltk')
19 build() {
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
24   make || return 1
27 package() {
28   cd "$srcdir/$_realname-$pkgver"
29   make DESTDIR=${pkgdir} install
30   chmod 644 ${pkgdir}/usr/lib/*.a