mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
967 B
Bash
29 lines
967 B
Bash
|
# $Id: PKGBUILD 6553 2008-07-25 01:31:07Z eric $
|
||
|
# Maintainer: damir <damir@archlinux.org>
|
||
|
# Contributor: Kritoke <kritoke@gamebox.net>
|
||
|
|
||
|
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
|
||
|
}
|