summaryrefslogtreecommitdiff
path: root/community/fltk2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fltk2/PKGBUILD')
-rw-r--r--community/fltk2/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/fltk2/PKGBUILD b/community/fltk2/PKGBUILD
index d3da63100..7600f7322 100644
--- a/community/fltk2/PKGBUILD
+++ b/community/fltk2/PKGBUILD
@@ -1,33 +1,28 @@
-# $Id: PKGBUILD 58766 2011-11-18 13:49:19Z spupykin $
+# $Id: PKGBUILD 63560 2012-02-05 11:56:02Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=fltk2
pkgver=2.0
_pkgver=2.0.x-alpha-r9166
-pkgrel=7
+pkgrel=8
pkgdesc="Graphical user interface toolkit for X"
arch=(i686 x86_64)
license=('LGPL')
url="http://www.fltk.org/"
depends=('libjpeg' 'libpng' 'gcc-libs' 'libxft' 'libxext' 'libxi' 'libxinerama')
makedepends=('mesa')
-source=(http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/fltk-${_pkgver}.tar.bz2
- libpng14.patch)
-md5sums=('d5e7cd859d2aeb9bb6e13ee298e8b2aa'
- '93955f17f56ad8b419ca1f8ea8c24a7f')
+source=(http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/fltk-${_pkgver}.tar.bz2)
+md5sums=('d5e7cd859d2aeb9bb6e13ee298e8b2aa')
build() {
cd $srcdir/fltk-${_pkgver}
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
-
patch -p0 src/filename_list.cxx <<EOF
66c66
< int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
---
> int n = scandir(d, list, 0, (int(*)(const dirent64**,const dirent64**))sort);
EOF
-
-# patch -Np1 -i "$srcdir/libpng14.patch"
make
make DESTDIR=$pkgdir install
}