diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/fltk2/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/fltk2/PKGBUILD')
-rw-r--r-- | community-testing/fltk2/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community-testing/fltk2/PKGBUILD b/community-testing/fltk2/PKGBUILD new file mode 100644 index 000000000..782982bac --- /dev/null +++ b/community-testing/fltk2/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 63100 2012-01-30 18:55:51Z ibiru $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=fltk2 +pkgver=2.0 +_pkgver=2.0.x-alpha-r9166 +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) +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 + make + make DESTDIR=$pkgdir install +} |