mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 01:27:19 +08:00
baloo5: initial import
This commit is contained in:
parent
145a9a47dd
commit
dfd8e72925
42
baloo5/PKGBUILD
Normal file
42
baloo5/PKGBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
source ../plasma.conf
|
||||
|
||||
pkgname=baloo5
|
||||
_pkgname=baloo
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgdesc='Library providing Job- and Qeueinterfaces'
|
||||
arch=('i686' 'x86_64')
|
||||
url='community.kde.org/Baloo'
|
||||
license=('LGPL')
|
||||
depends=('qt5-base' 'solid' 'krunner' 'kauth' 'kdelibs4support' 'kcmutils' 'kemoticons' 'kfilemetadata5' 'xapian-core')
|
||||
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 || return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user