# Description: Lxqt-common paketi çeşitli LXQt bileşenleri için ortak dosyalar sağlar.
# URL: http://lxqt.org
# Packager: yasarciv67@gmail.com
# Depends on: hicolor-icon-theme xorg-app

name=lxqt-common
version=0.11.2
release=1
source=(https://github.com/lxde/$name/releases/download/$version/$name-$version.tar.xz)

sed -e '/TryExec/s@=@=/usr/bin/@' \
    -i xsession/lxqt.desktop.in 
    
build() {
	mkdir -v build
	cd build
	cmake $SRC/$name-$version \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr 
		
	make
	mkdir -pv /usr/share/lxqt/graphics &&
	make DESTDIR=$PKG install
}