# Tanım: Lxqt-config paketi LXQt sistem ayarlar merkezi sağlar.
# URL: http://lxqt.org
# Paketçi: yasarciv67
# Gerekler: liblxqt plasma-libkscreen xorg-libxcursor xf86-input-libinput lxqt-build-tools
# Grup: sistem

isim=lxqt-config
surum=0.14.0
devir=1
kaynak=(https://github.com/lxqt/$isim/releases/download/$surum/$isim-$surum.tar.xz
lxqt-config-brightness_tr.desktop
lxqt-config-file-associations_tr.desktop
lxqt-config-input_tr.desktop
lxqt-config-locale_tr.desktop
lxqt-config-monitor_tr.desktop)


derle() {
mv lxqt-config-brightness_tr.desktop $isim-$surum/lxqt-config-brightness/translations/
mv lxqt-config-file-associations_tr.desktop $isim-$surum/lxqt-config-file-associations/translations/
mv lxqt-config-input_tr.desktop $isim-$surum/lxqt-config-input/translations/
mv lxqt-config-locale_tr.desktop $isim-$surum/lxqt-config-locale/translations/
mv lxqt-config-monitor_tr.desktop $isim-$surum/lxqt-config-monitor/translations/
# Geliştirici değişiklik isteğini kabul ederse sonraki sürümde ilgili satır ve .desktop dosyaları silinecek
	
	mkdir -v build
	cd build
	cmake $SRC/$isim-$surum \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
		
	make
	make DESTDIR=$PKG install
	mv $PKG/usr/etc $PKG/
}
