37 lines
934 B
Bash
37 lines
934 B
Bash
#!/usr/bin/env bash
|
|
name='kio'
|
|
release='1'
|
|
version='5.110.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Framework providing transparent file and data management'
|
|
email='akarsu@protonmail.com'
|
|
maintainer='akarsu'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kio-${version}.tar.xz")
|
|
depends=(karchive kcompletion kconfig kguiaddons ki18n kxmlgui
|
|
gcc qt5-base qt5-x11extras qt5-declarative kservice
|
|
kauth solid)
|
|
makedepends=(extra-cmake-modules doxygen qt5-tools)
|
|
md5sums=('e7f0566641251e0db82f516465200531')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON \
|
|
-DDocBookXSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|