Date: Thursday, April 8, 2010 @ 09:38:59 Author: andrea Revision: 76153
use package() function Modified: filelight/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-04-08 13:35:08 UTC (rev 76152) +++ PKGBUILD 2010-04-08 13:38:59 UTC (rev 76153) @@ -1,17 +1,18 @@ # $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> # Contributor: damir <da...@archlinux.org> # Contributor: Kritoke <krit...@gamebox.net> pkgname=filelight pkgver=1.9rc3 pkgrel=1 -pkgdesc="A KDE program that creates a complex, but data-rich graphical representation of the files and directories on your computer." +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=('kdelibs' 'qimageblitz' 'hicolor-icon-theme') makedepends=('cmake' 'automoc4') -install=filelight.install +install=${pkgname}.install source=("http://www.kde-apps.org/CONTENT/content-files/99561-$pkgname-${pkgver}.tgz") md5sums=('a75cb50bc0b7238507952fb7d1b8d8a8') @@ -24,5 +25,9 @@ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make || return 1 +} + +package() { + cd ${srcdir}/build make DESTDIR=${pkgdir} install || return 1 }