diff options
author | Stamatin Cristina <dear.volgk@gmail.com> | 2020-12-05 15:17:17 +0200 |
---|---|---|
committer | Stamatin Cristina <dear.volgk@gmail.com> | 2020-12-05 15:17:17 +0200 |
commit | b41efe6006632f06aea1b168a92afa4d34908da6 (patch) | |
tree | e70d278fb37c84667bf4bf628f9363a407aa8795 /kcoreaddons/Pkgfile | |
parent | 0f0b4092e786e5ab591261978dfae603e37e230a (diff) | |
download | contrib-b41efe6006632f06aea1b168a92afa4d34908da6.tar.gz contrib-b41efe6006632f06aea1b168a92afa4d34908da6.tar.xz |
kcoreaddons: v5.76.0, initial commit
Diffstat (limited to 'kcoreaddons/Pkgfile')
-rw-r--r-- | kcoreaddons/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kcoreaddons/Pkgfile b/kcoreaddons/Pkgfile new file mode 100644 index 000000000..8916fa9a2 --- /dev/null +++ b/kcoreaddons/Pkgfile @@ -0,0 +1,23 @@ +# 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 +version=5.76.0 +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 +} |