desktop/kfilemetadata5/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kfilemetadata5
2014-06-22 19:11:36 +08:00
source ../plasma.conf
pkgname=kfilemetadata5
_pkgname=kfilemetadata
2015-01-15 05:23:15 +08:00
pkgver=${PAltSubVersion}
pkgrel=1
pkgdesc='A library for extracting file metadata'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdelibs/kfilemetadata'
2014-06-22 19:11:36 +08:00
license=('LGPL')
depends=('ki18n' 'qt5-base' 'karchive' 'kservice')
makedepends=('extra-cmake-modules' 'python2' 'exiv2' 'poppler-qt5' 'taglib' 'ffmpeg' 'ebook-tools')
optdepends=('ffmpeg: extract video data'
'exiv2: extract image data'
'taglib: extract audio data'
'poppler-qt5: extract document data'
'ebook-tools: extract epub file data')
2014-07-11 00:48:32 +08:00
groups=('plasma')
2014-06-22 19:11:36 +08:00
options=("debug")
2015-05-27 06:10:00 +08:00
source=("${PServer}/${PVersion}/${_pkgname}-${PAltSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
2014-06-22 19:11:36 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
2014-06-22 19:11:36 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}