desktop/kfilemetadata5/PKGBUILD

43 lines
812 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
pkgver=${PVersion}
pkgrel=2
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')
checkdepends=("cmake")
2014-07-11 00:48:32 +08:00
groups=('plasma')
2014-06-22 19:11:36 +08:00
options=("debug")
source=("${PServer}/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
2014-06-22 19:11:36 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${PBuildType} \
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}