contrib/kconfig/Pkgfile

22 lines
570 B
Plaintext

# Description: Framework for reading and writing configuration
# URL: https://api.kde.org/frameworks/kconfig/html
# Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com
# Depends on: extra-cmake-modules qt5
name=kconfig
version=5.95.0
release=1
source=(https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz)
build() {
rm -r $name-$version/po/*
cmake -S$name-$version -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/kf5
cmake --build build -v
DESTDIR=$PKG cmake --install build
}