libksysguard (not done yet)
This commit is contained in:
1 parent
3f827beacc
commit
5cb5e09e2d
2 files changed
+36
-3
No files matched your search
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libksysguard'
|
||||||
|
release='1'
|
||||||
|
version='5.27.9'
|
||||||
|
url='https://kde.org/plasma-desktop'
|
||||||
|
description='KDE system monitor library'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.kde.org/stable/plasma/$version/libksysguard-$version.tar.xz")
|
||||||
|
depends=(knewstuff libXres)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('8fbd525b217c632106cb02075bd99754')
|
||||||
|
group=(kde.plasma)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DQt5WebChannel=OFF \
|
||||||
|
-DQt5WebEngineWidgets=OFF
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make -C build $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make -C build install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ email='aliriza.keskin@pardus.org.tr'
|
|||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://download.kde.org/stable/plasma/$version/plasma-desktop-$version.tar.xz")
|
source=("https://download.kde.org/stable/plasma/$version/plasma-desktop-$version.tar.xz")
|
||||||
depends=(accountsservice kirigami2 plasma-workspace setxkbmap)
|
depends=(accountsservice kirigami2 plasma-workspace setxkbmap libksysguard)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('e1446c2047adbad63929fc028b597f87')
|
md5sums=('e1446c2047adbad63929fc028b597f87')
|
||||||
group=(kde.plasma)
|
group=(kde.plasma)
|
||||||
@@ -20,9 +20,8 @@ cd $name-$version
|
|||||||
prepare(){
|
prepare(){
|
||||||
# Remove bloats from cmakelist.txt
|
# Remove bloats from cmakelist.txt
|
||||||
## applets
|
## applets
|
||||||
sed -i "/.*taskmanager.*/d" applets/CMakeLists.txt
|
|
||||||
# Removed because of KDELibs4Support
|
|
||||||
sed -i "/.*KDELibs4Support.*/d" CMakeLists.txt
|
sed -i "/.*KDELibs4Support.*/d" CMakeLists.txt
|
||||||
|
# Removed because of KDELibs4Support
|
||||||
sed -i "/.*dateandtime.*/d" kcms/CMakeLists.txt
|
sed -i "/.*dateandtime.*/d" kcms/CMakeLists.txt
|
||||||
# Replace dependency
|
# Replace dependency
|
||||||
sed -i "s/KSysGuard/KF5IconThemes/g" CMakeLists.txt
|
sed -i "s/KSysGuard/KF5IconThemes/g" CMakeLists.txt
|
||||||
|
|||||||
Reference in new issue
Block a user