### this file is sourced not run
PKGVER=2015.05
PKGBUILD=1
PKGARCH=x86_64

PKGVER=2015.05

# source: james
TARBALL=hardinfo-$PKGVER.tar.bz2
MD5SUM=9cabe3c7ba693471780964009f15108a
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='gtk2' # 
SLACKDESC="hardinfo: hardinfo $PKGVER (System Information)  
hardinfo:  
hardinfo: Hardinfo displays information about your system'\''s hardware and 
hardinfo: operating system. It can also performs benchmarks and prints reports 
hardinfo: in HTML or text formats.  
hardinfo: 
hardinfo: https://chiselapp.com/user/jamesbond/repository/hardinfo/index
hardinfo: 
hardinfo: 
hardinfo: 
hardinfo: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/hardinfo*
	# disable libsoup, we don't have it installed by default
	sed -i -e '/LIBSOUP/d' CMakeLists.txt &&
	CMAKEFLAGS="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64" &&
	pkg_build_cmake &&
	pkg_build_slackdesc &&

	# custom Fatdog desktop file
	echo "NoDisplay=true" >> /usr/share/applications/hardinfo.desktop	
}
