milis/talimatname/genel/p/plasma-workspace/talimat

46 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: KDE Plasma çalışma alanı
# URL: https://www.kde.org/
# Paketçi: alihan-ozturk@hotmail.com
# Gerekler: 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
# Grup: sistem masaüstü
isim=plasma-workspace
surum=5.8.1
devir=1
kaynak=( http://download.kde.org/stable/plasma/$surum/$isim-$surum.tar.xz
kscreensaver.pam)
derle() {
cd $isim-$surum
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=OFF \
-Wno-dev
make
make DESTDIR=$PKG install
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startkde
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startplasmacompositor
mkdir -p $PKG/etc/pam.d
cat > $PKG/etc/pam.d/kde << "EOF"
# Begin /etc/pam.d/kde
auth include system-auth
account include system-account
password include system-password
session include system-session
# End /etc/pam.d/kde
EOF
install -v -dm755 $PKG/usr/share/xsessions
ln -sfv /usr/share/xsessions/plasma.desktop $PKG/usr/share/xsessions/kf5-plasma.desktop
install -D -m644 $SRC/kscreensaver.pam $PKG/etc/pam.d/kscreensaver
}