summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-24 02:43:07 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-24 02:43:07 (GMT)
commitc3a363da3015dc1f053b242c6aac250bde942d76 (patch)
treee26dbedb4e52bcece46978f3998fa798ccb64f9b
parentf7668d729237421f75dc61cc59981b5d682859e2 (diff)
downloadlinhes_pkgbuild-c3a363da3015dc1f053b242c6aac250bde942d76.zip
linhes_pkgbuild-c3a363da3015dc1f053b242c6aac250bde942d76.tar.gz
linhes_pkgbuild-c3a363da3015dc1f053b242c6aac250bde942d76.tar.bz2
fltk: upgrade
-rw-r--r--abs/core/fltk/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/abs/core/fltk/PKGBUILD b/abs/core/fltk/PKGBUILD
index f1bbbb1..f5335f6 100644
--- a/abs/core/fltk/PKGBUILD
+++ b/abs/core/fltk/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 1248 2008-05-02 22:01:06Z tobias $
-# Maintainer: roberto <roberto@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Updated to produce shared libs: Andrew Rose <ody@netrux.com>
+# $Id: PKGBUILD 71291 2010-03-06 01:40:12Z pierre $
pkgname=fltk
-pkgver=1.1.9
+pkgver=1.1.10
pkgrel=1
pkgdesc="Graphical user interface toolkit for X"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.fltk.org/"
depends=('libjpeg' 'libpng' 'gcc-libs' 'libxft' 'libxext')
makedepends=('mesa')
-source=(http://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2)
-md5sums=('e146fd264e1001b1313acfd41ef75552')
+source=("http://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2")
+md5sums=('a1765594bc427ff892e36089fe1fa672')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
+ export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
+ export LDFLAGS="${LDFLAGS//,--as-needed}"
./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
make || return 1
- make DESTDIR=$startdir/pkg install
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}