desktop/kfilemetadata5/PKGBUILD

45 lines
992 B
Bash
Raw Normal View History

2014-06-22 19:11:36 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=kfilemetadata5
_pkgname=kfilemetadata
2015-01-15 05:23:15 +08:00
pkgver=${PAltSubVersion}
pkgrel=1
2014-06-22 19:11:36 +08:00
pkgdesc='Library providing Job- and Qeueinterfaces'
arch=('i686' 'x86_64')
url='projects.kde.org/'
license=('LGPL')
depends=('qt5-base' 'karchive' 'kservice')
makedepends=('extra-cmake-modules' 'ffmpeg' 'exiv2' 'taglib' 'poppler-qt5' '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-06-22 19:11:36 +08:00
checkdepends=("cmake")
2014-07-11 00:48:32 +08:00
groups=('plasma')
2014-06-22 19:11:36 +08:00
options=("debug")
2015-01-15 05:23:15 +08:00
source=("${PServer}/${pkgver}/${_pkgname}-${PAltSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
2014-06-22 19:11:36 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../${_pkgname}-${pkgver}
2014-06-22 19:11:36 +08:00
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}