Package Details: lib32-fltk 1.3.5-1

Git Clone URL: https://aur.archlinux.org/lib32-fltk.git (read-only, click to copy)
Package Base: lib32-fltk
Description: Graphical user interface toolkit for X (32-bit)
Upstream URL: https://www.fltk.org
Licenses: custom:LGPL
Submitter: Babets
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 12
Popularity: 0.000084
First Submitted: 2010-06-19 12:42
Last Updated: 2019-06-05 18:24

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

genesis66 commented on 2014-04-14 14:04

the source url is now wrong in the pkgbuild :
correct as below :
source=(http://fltk.org/pub/$_pkgname/$pkgver/$_pkgname-$pkgver-source.tar.gz)

the checksum doesn't change so PKGBUILD should be :
_pkgname=fltk
pkgname=lib32-$_pkgname
pkgver=1.3.2
pkgrel=1
pkgdesc="Graphical user interface toolkit for X"
arch=('x86_64')
url="http://www.fltk.org"
license=('custom:LGPL')
depends=('fltk' 'lib32-gcc-libs' 'lib32-libjpeg-turbo' 'lib32-libpng' 'lib32-libxft' 'lib32-libxinerama')
install=lib32-fltk.install
source=(http://fltk.org/pub/$_pkgname/$pkgver/$_pkgname-$pkgver-source.tar.gz)
md5sums=('9f7e707d4fb7a5a76f0f9b73ff70623d')

build() {
cd "$srcdir/$_pkgname-$pkgver"
sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' \
-e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile
./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32/fltk --enable-threads --enable-xft --enable-shared CC='gcc -m32' CXX='g++ -m32'
make
}

package() {
cd "$srcdir/$_pkgname-$pkgver"

make DESTDIR="$pkgdir" install
(cd fluid; make DESTDIR="$pkgdir" install install-linux)

chmod 644 "$pkgdir"/usr/lib32/*.a
rm -rf ${pkgdir}/usr/{bin,include,share} # would conflict with package fltk, that's why it's listed as a dependency

install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et:

Anonymous comment on 2013-01-18 09:50

Rewrote the PKGBUILD and updated the package. But I won't continue maintaining it, because I just though that I need it, but I don't ;)

rafaelff commented on 2011-08-10 03:28

Now the PKGBUILD looks good to me. Thanks a lot! :)

Anonymous comment on 2011-08-10 03:22

Alright, one more try - if its not right, I'll disown so someone with an actual Linux box can update it.

rafaelff commented on 2011-08-10 03:14

Nope.. Try installing and running dos2unix from cygwin. You can use "file" command to verify file type.

$ file PKGBUILD
PKGBUILD: ASCII text, with CRLF line terminators
$ file ../pcsx2-svn/PKGBUILD # an example of unix text file
../pcsx2-svn/PKGBUILD: ASCII text

Anonymous comment on 2011-08-10 03:07

Yeah, I must have missed the Unix line endings option in Cygwin. Fixed now?

rafaelff commented on 2011-08-10 02:43

==> ERROR: ./tmp.vVuRlXeHQ0 contains CRLF characters and cannot be sourced.
Unable to read PKGBUILD

Save in unix format. Notepad++ can help you with that (http://notepad-plus-plus.org/)

Anonymous comment on 2011-08-10 02:33

Sorry, I'm in corporate housing after moving 3000 miles, and the only machine I have access to is a Windows box - so I just uploaded josephbgr's PKGBUILD. Does it work for everyone?

rafaelff commented on 2011-08-10 02:10

bump

rafaelff commented on 2011-08-01 03:29

just for the record: I fixed a thing in PKGBUILD and re-posted the message.

@wtchappell: no problem, thanks for the quick answer.