# Include global configuration source ../kdeapps.conf pkgname=kfilemetadata4 _pkgname=kfilemetadata pkgver=${_oldkdever} pkgrel=1 pkgdesc="A library for extracting file metadata" arch=('x86_64') url='https://projects.kde.org/projects/kde/kdelibs/kfilemetadata' license=('LGPL') depends=('poppler-qt' 'taglib' 'ffmpeg' 'ebook-tools' 'kdegraphics-mobipocket') makedepends=('cmake' 'automoc4') conflicts=('kfilemetadata<5') replaces=('kfilemetadata<5') source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz") sha1sums=('6b106223b3d4ab9ba0516b8301e564af2416eaa9') 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 }