mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 01:57:17 +08:00
kio: initial import
This commit is contained in:
parent
ca0e38bb0a
commit
e5902b9e6b
46
kio/PKGBUILD
Normal file
46
kio/PKGBUILD
Normal file
@ -0,0 +1,46 @@
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
source ../frameworks.conf
|
||||
|
||||
pkgname=kio
|
||||
pkgver=${KFVersion}
|
||||
pkgrel=1
|
||||
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')
|
||||
makedepends=('extra-cmake-modules' 'kdoctools')
|
||||
groups=('kf5')
|
||||
install=kio.install
|
||||
options=("debug")
|
||||
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('53bc1e6425b5bde56aa89b2b2ced9ba3')
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user