[paket]
tanim   = KDE Faaliyetleri için temel bileşenler
paketci = Cihan_Alkan
grup 	= kde
url     = https://community.kde.org/Frameworks

[gerek]
derleme = extra-cmake-modules
calisma =  

[kaynak]
1      = https://github.com/$isim/$isim/archive/v$surum.tar.gz
dosya	= sddm.conf

[sha256]
    #1 		= f1eb9baa29b8b4ab65c5938126e2a9020159d4b535b8ba5700a3602e3005d2df

[derle]
betik 	= groupadd -g 64 sddm
betik 	= useradd -c "Simple Desktop Display manager" -d /var/lib/sddm -u 64 -g sddm -s /sbin/false sddm
betik 	= mkdir build
betik 	= cd build
betik 	= cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf -DKDE_INSTALL_LIBEXECDIR=/usr/lib/$isim -DBUILD_TESTING=OFF -DBUILD_MAN_PAGES=OFF -Wno-dev ..
betik 	= cmake --build .
            	      
[pakur]
betik 	= cd build
betik 	= make DESTDIR=$PKG install
betik 	= mkdir -p $PKG/var/lib/sddm
betik 	= mkdir -p $PKG/etc/init.d
betik 	= cp $SRC/sddm $PKG/etc/init.d/
betik 	= chown -R sddm:sddm $PKG/var/lib/sddm
betik 	= chmod -R 0755 $PKG/var/lib/sddm
betik 	= sed -i "s@pam_tally2.so file=/var/log/tallylog onerr=succeed@pam_faillock.so preauth@" $PKG/etc/pam.d/sddm-autologin
dosya	= pakur.sh
servis	= sddm
