#Packager: George Vlahavas <gapan~at~salixos~dot~org>

pkgname=lxqt-runner
pkgver=1.2.0
pkgrel=1gv
source=("https://github.com/lxqt/lxqt-runner/releases/download/1.2.0/lxqt-runner-1.2.0.tar.xz")
docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo")
url=https://lxqt-project.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"lxqt-runner (launch programs quickly by typing their names)"
"lxqt-runner provides a GUI that comes up on the desktop and allows for"
"launching applications or shutting down the system. A calculator"
"function is implemented too."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	
    mkdir -p build
	cd build
	cmake \
		-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
		-DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
		-DCMAKE_BUILD_TYPE=Release ..
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
	cd ..
} 
