desktop/baloo-kf5/PKGBUILD
2015-02-22 23:23:41 +00:00

42 lines
1.1 KiB
Bash

#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/baloo-frameworks
source ../plasma.conf
pkgname=baloo-kf5
_pkgname=baloo
pkgver=${PAltSubVersion}
pkgrel=1
pkgdesc="A framework for searching and managing metadata"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdelibs/baloo'
license=('LGPL')
depends=('xapian-core' 'kfilemetadata5' 'kidletime' 'kcmutils' 'kdelibs4support')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=('plasma')
options=("debug")
replaces=('baloo5' 'kf5-baloo')
provides=('baloo5' 'kf5-baloo' 'baloo_file')
conflicts=('baloo5' 'kf5-baloo' 'baloo<=4.14.3-1' 'baloo4')
source=("${PServer}/${pkgver}/${_pkgname}-${PAltSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
install=${pkgname}.install
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}