mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
43 lines
807 B
Bash
43 lines
807 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../plasma.conf
|
|
|
|
pkgname=kfilemetadata5
|
|
_pkgname=kfilemetadata
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
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")
|
|
groups=('kf5')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
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
|
|
}
|