mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 13:34:36 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kio
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kio
|
|
pkgver=${KFVersion}
|
|
pkgrel=2
|
|
pkgdesc='Resource and network access abstraction'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kio'
|
|
license=('LGPL')
|
|
depends=('solid' 'karchive' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet'
|
|
'desktop-file-utils' 'krb5' 'acl')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'kdoctools')
|
|
checkdepends=('xorg-server-xvfb' 'openbox')
|
|
groups=('kf5')
|
|
install=kio.install
|
|
options=("debug")
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# the following is comment out, waiting for discision being made.
|
|
# msg 'change DuckDuckGo search'
|
|
# cd ${pkgdir}/usr/share/kservices5/searchproviders/
|
|
# sed 's/kde/chakra/g' -i duckduckgo*
|
|
}
|