# Tanım: Görev yönetimi ve sistem izleme kitaplığı
# URL: https://www.kde.org/
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: kf5-kauth kf5-kcompletion kf5-kconfig kf5-kconfigwidgets kf5-kcoreaddons kf5-ki18n kf5-kwidgetsaddons kf5-kwindowsystem kf5-kiconthemes kf5-plasma-framework 
# Grup: kütüphane

isim=plasma-libksysguard
surum=5.8.1
devir=1
_isim=libksysguard

kaynak=( http://download.kde.org/stable/plasma/$surum/${_isim}-$surum.tar.xz
        libksysguard-5.5.5-glibc2.23-1.patch )

derle() {
cd ${_isim}-$surum
patch -Np1 -i ../libksysguard-5.5.5-glibc2.23-1.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_INSTALL_DIR=lib       \
      -DBUILD_TESTING=OFF         \
      -Wno-dev
      
make
make DESTDIR=$PKG install
}