milis/talimatname/genel/plasma-workspace/talimat

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-04-12 10:25:10 +02:00
# Description : KDE Plasma çalışma alanı
2016-07-25 01:42:35 +02:00
# URL: https://www.kde.org/
# Packager: alihan-ozturk@hotmail.com
# 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
name=plasma-workspace
2016-10-11 22:06:15 +02:00
version=5.8.1
2016-07-25 01:42:35 +02:00
release=1
2016-08-22 20:56:57 +02:00
source=( http://download.kde.org/stable/plasma/$version/$name-$version.tar.xz
kscreensaver.pam)
2016-07-25 01:42:35 +02:00
build() {
cd $name-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=OFF \
-Wno-dev
make
make DESTDIR=$PKG install
2016-08-22 20:56:57 +02:00
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startkde
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startplasmacompositor
2016-07-25 01:42:35 +02:00
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
2016-08-22 20:56:57 +02:00
install -D -m644 $SRC/kscreensaver.pam $PKG/etc/pam.d/kscreensaver
2016-07-25 01:42:35 +02:00
}