# $Id: PKGBUILD 6553 2008-07-25 01:31:07Z eric $ # Maintainer: damir # Contributor: Kritoke pkgname=filelight pkgver=1.0 pkgrel=3 pkgdesc="A KDE program that creates a complex, but data-rich graphical representation of the files and directories on your computer." arch=("i686" "x86_64") url="http://methylblue.com/filelight/" license=('GPL2') depends=('kdelibs3') options=('libtool') # removing .la file breaks kparts and loading filelight module! source=("http://methylblue.com/filelight/packages/$pkgname-1.0.tar.bz2") md5sums=('aa885e53e09f40e7fdd371395140b957') build() { cd $startdir/src/$pkgname-1.0 . /etc/profile.d/kde3.sh if [ "$CARCH" = "x86_64" ]; then # not the best way but gentoo patch didn't work export CFLAGS="$CFLAGS -fPIC" export CXXFLAGS="$CFLAGS" fi ./configure --prefix=/opt/kde --without-arts make || return 1 make DESTDIR=$startdir/pkg install || return 1 }