desktop/kfilemetadata/PKGBUILD
2015-03-15 23:10:18 +00:00

31 lines
870 B
Bash

# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kfilemetadata"
arch=('x86_64')
pkgver=${_oldkdever}
pkgrel=3
pkgdesc="File indexing for baloo?"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!header' 'debug' 'log')
depends=("kdelibs>=${_libsver}" 'poppler-qt' 'ffmpeg' 'exiv2' 'ebook-tools')
makedepends=('pkg-config' 'cmake' 'automoc4' 'doxygen')
source=("http://download.kde.org/stable/${_oldkdever}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('6b106223b3d4ab9ba0516b8301e564af2416eaa9')
build() {
cd ${pkgname}-${pkgver}
rm -rf build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}