mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 11:14:36 +08:00
41 lines
1.2 KiB
Bash
41 lines
1.2 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"
|
|
'kurlnavigator.diff::https://quickgit.kde.org/?p=kio.git&a=commitdiff&h=d34b37b6831429f7a48edec7de77cb88524b3784&hp=da70a9c7fee17a304526aad60be749e5701dea95&o=plain')
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'471960f1ae08474f539f015dfe468e47016e8f25f169621dd45fd7e7e5c2e8ff')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
# patch from demm
|
|
patch -p1 -R -i ${srcdir}/kurlnavigator.diff
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|