talimat 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Description : KDE Plasma çalışma alanı
  2. # URL: https://www.kde.org/
  3. # Packager: alihan-ozturk@hotmail.com
  4. # Depends on: consolekit2 kf5-baloo kf5-kdesu kf5-kdewebkit kf5-kjsembed kf5-knotifyconfig kf5-krunner plasma-kwin kf5-kxmlrpcclient plasma-libkscreen plasma-libksysguard kf5-networkmanager-qt kf5-ktexteditor kf5-kwayland libdbusmenu-qt5 pm-utils gvfs plasma-kscreenlocker plasma-breeze plasma-kactivitymanagerd kholidays
  5. name=plasma-workspace
  6. version=5.8.1
  7. release=1
  8. source=( http://download.kde.org/stable/plasma/$version/$name-$version.tar.xz
  9. kscreensaver.pam)
  10. build() {
  11. cd $name-$version
  12. cmake -DCMAKE_INSTALL_PREFIX=/usr \
  13. -DCMAKE_BUILD_TYPE=Release \
  14. -DLIB_INSTALL_DIR=lib \
  15. -DBUILD_TESTING=OFF \
  16. -Wno-dev
  17. make
  18. make DESTDIR=$PKG install
  19. sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startkde
  20. sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startplasmacompositor
  21. mkdir -p $PKG/etc/pam.d
  22. cat > $PKG/etc/pam.d/kde << "EOF"
  23. # Begin /etc/pam.d/kde
  24. auth include system-auth
  25. account include system-account
  26. password include system-password
  27. session include system-session
  28. # End /etc/pam.d/kde
  29. EOF
  30. install -v -dm755 $PKG/usr/share/xsessions
  31. ln -sfv /usr/share/xsessions/plasma.desktop $PKG/usr/share/xsessions/kf5-plasma.desktop
  32. install -D -m644 $SRC/kscreensaver.pam $PKG/etc/pam.d/kscreensaver
  33. }