#Packager: Dimitris Tzemos <dijemos@gmail.com>

pkgname=cmst
pkgver=2020.04.12
pkgrel=1dj
source=("https://github.com/andrew-bibb/cmst/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
docs=("text/*")
url="https://github.com/andrew-bibb/cmst/releases"

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"cmst (GUI for connman daemon)"
"The program provides graphical user interface to control the"
"connman daemon. The connman daemon must be started"
"as you normally would, this program just interfaces with that"
"daemon. You can see what technologies and services connman"
"has found, and for wifi services an agent is registered to assist"
"in obtaining the information from you necessary to logon the"
"wifi service."
""
"Homepage: https://github.com/andrew-bibb/cmst/releases"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	
	export CFLAGS="$SLKCFLAGS"
	export CXXFLAGS="$SLKCFLAGS"
	export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
	export USE_LIBPATH="/usr/lib${LIBDIRSUFFIX}"

	qmake-qt5 DISTRO=slackware
	make
	make install INSTALL_ROOT=$PKG
} 
