38 lines
991 B
Bash
Executable File
38 lines
991 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='systemsettings'
|
|
release='4'
|
|
version='6.4.5'
|
|
url='https://kde.org/plasma-desktop'
|
|
description='KDE system manager for hardware, software, and workspaces'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://download.kde.org/stable/plasma/$version/systemsettings-$version.tar.xz")
|
|
depends=(plasma-workspace)
|
|
makedepends=(extra-cmake-modules kdoctools)
|
|
sha256sums=('90d7f097f1a77a400076224cdba45b94c71d0fec43efd2ed737047f2ff2aba8f')
|
|
group=(kde.plasma)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
}
|
|
|
|
build () {
|
|
ninja -C build $jobs
|
|
}
|
|
|
|
package () {
|
|
ninja -C build install $jobs
|
|
# fix symlink
|
|
rm -f $DESTDIR/usr/share/kglobalaccel/systemsettings.desktop
|
|
ln -s ../applications/systemsettings.desktop $DESTDIR/usr/share/kglobalaccel/systemsettings.desktop
|
|
# link kinfocenter
|
|
ln -s systemsettings $DESTDIR/usr/bin/kinfocenter
|
|
}
|
|
|