2020-12-05 14:17:17 +01:00
|
|
|
# Description: KDE Framework - kcoreaddons
|
|
|
|
# URL: https://api.kde.org/frameworks/kcoreaddons/html/index.html
|
|
|
|
# Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com
|
|
|
|
# Depends on: extra-cmake-modules qt5
|
|
|
|
|
|
|
|
name=kcoreaddons
|
2022-05-16 22:23:23 +02:00
|
|
|
version=5.94.0
|
2020-12-05 14:17:17 +01:00
|
|
|
release=1
|
|
|
|
source=(https://download.kde.org/stable/frameworks/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
rm -r $name-$version/po/*
|
|
|
|
|
|
|
|
cmake -S$name-$version -Bbuild \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
|
|
|
|
cmake --build build -v
|
|
|
|
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/kf5/licenses
|
|
|
|
find $PKG -depth -type d -empty -delete
|
|
|
|
}
|