PKGBUILD 1.19 KB
Newer Older
Andrei Nistor's avatar
Andrei Nistor committed
1 2 3 4 5 6 7 8
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
# maintainer (x86_64): Nistor Andrei <coder[dot]tux[at]ceata[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
Andrei Nistor's avatar
Andrei Nistor committed
9 10 11 12 13 14 15 16 17 18

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"
arch=('i686' 'x86_64')
url="http://methylblue.com/filelight/"
license=('GPL2')
depends=('kdelibs' 'qimageblitz' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4')
Giuseppe's avatar
Giuseppe committed
19
categories=('utils')
Andrei Nistor's avatar
Andrei Nistor committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
install=${pkgname}.install
source=("http://www.kde-apps.org/CONTENT/content-files/99561-$pkgname-${pkgver}.tgz"
        'kurl.patch')
md5sums=('a75cb50bc0b7238507952fb7d1b8d8a8'
         'ab4e31907ccb452b515c5057653526d8')

build() {
  cd "${srcdir}"
  pushd "${pkgname}-${pkgver}"
  patch -p1 < ../../kurl.patch
  popd
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_INSTALL_PREFIX=/usr
  make || return 1
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install || return 1
}