updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / lib32-fltk / PKGBUILD
blob62dec4b41cc6b7b84867db7ce65e60280511c6f3
1 # Maintainer : 
2 # Contributor : 
4 _pkgbasename=fltk
5 pkgname=lib32-$_pkgbasename
6 pkgver=1.3.0
7 pkgrel=1
8 pkgdesc="Graphical user interface toolkit for X (32 bit)"
9 arch=('x86_64')
10 license=('LGPL')
11 url="http://www.fltk.org/"
12 depends=('fltk' 'lib32-gcc-libs' 'lib32-libjpeg-turbo'
13          'lib32-libpng' 'lib32-libxft' 'lib32-libxinerama')
14 makedepends=('lib32-mesa' 'gcc-multilib')
15 source=("http://ftp.easysw.com/pub/fltk/$pkgver/fltk-$pkgver-source.tar.gz")
16 md5sums=('44d5d7ba06afdd36ea17da6b4b703ca3')
18 build() {
19   cd "$srcdir/$_pkgbasename-$pkgver"
20   ./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32/fltk \
21                   --enable-xft --enable-shared CC='gcc -m32' CXX='g++ -m32' \
22                   --enable-threads
23   make
26 package() {
27   cd "$srcdir/$_pkgbasename-$pkgver"
28   make DESTDIR=$pkgdir install
29   rm -rf ${pkgdir}/usr/{bin,include,share}