# $Id: PKGBUILD 214794 2014-06-10 17:52:13Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=baloo pkgver=4.13.2 pkgrel=1 pkgdesc="A framework for searching and managing metadata" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/kdelibs/baloo' license=('LGPL') depends=('kdepimlibs' 'xapian-core' 'kfilemetadata') makedepends=('cmake' 'automoc4' 'boost') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") sha1sums=('be2f6fdeb36b78e27652f13504a7d49aa6ddc2d4') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }