mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 03:57:15 +08:00
47 lines
987 B
Bash
47 lines
987 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kio
|
|
pkgver=${KFVersion}
|
|
pkgrel=5
|
|
pkgdesc='KIO'
|
|
arch=('i686' 'x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kio'
|
|
license=('LGPL')
|
|
depends=('krb5' 'solid' 'knotifications' 'kjobwidgets' 'kbookmarks'
|
|
'qt5-script' 'libxslt' 'kwallet')
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
groups=('kf5')
|
|
install=kio.install
|
|
options=("debug")
|
|
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
# export XDG_DATA_DIRS="/opt/kf5/share:$XDG_DATA_DIRS"
|
|
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
|
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DSYSCONF_INSTALL_DIR=/etc
|
|
make
|
|
}
|
|
|
|
check(){
|
|
cd build
|
|
msg "currently fails; needs gui?"
|
|
make test | return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|