Files
binary-repo/kde/plasma/kinfocenter/ympbuild
T
2024-09-22 03:23:14 +03:00

37 lines
989 B
Bash
Executable File

#!/usr/bin/env bash
name='kinfocenter'
release='3'
version='6.1.5'
url='https://kde.org/plasma-desktop'
description='A utility that provides information about a computer system'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('GPLv2')
source=("https://download.kde.org/stable/plasma/${version}/kinfocenter-${version}.tar.xz")
depends=(kauth kcmutils kconfig kcoreaddons kdeclarative ki18n kio kirigami kservice kwidgetsaddons libusb qt6-base
qt6-declarative)
makedepends=(extra-cmake-modules solid kdoctools)
sha256sums=('0976ae43756b6ddbf4e70e750cb17f422dabe7604c5e2f824ab4f1e0161ae5d0')
group=(kde.plasma)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
}
build () {
cmake --build build
}
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
# systemsettings5 file is not part of kinfocenter
rm -f $DESTDIR/usr/bin/kinfocenter
}