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

# source: james
TARBALL=keepassx-master-20161025.tar.gz
MD5SUM=89ed1c3be492068dbb1a42542f655a74
#SRC_URL=https://www.keepassx.org/releases/$PKGVER/$TARBALL
SRC_URL=http://distro.ibiblio.org/fatdog/source/710/$TARBALL
BUNDLE=

SLACKREQ=qt5-common
SLACKDESC="keepassx: keepassx $PKGVER (Password manager)  
keepassx:  
keepassx: KeePassX saves many different information e.g. user names, 
keepassx: passwords, urls, attachments and comments in one single database. 
keepassx: User-defined titles and icons can be specified for each single 
keepassx: entry. Entries are sorted in groups and are customizable. It has an 
keepassx: integrated search function. It can also generate secure passwords. 
keepassx: The entire database is always encrypted, either with AES or with 
keepassx: Twofish. The database format is compatible with KeePass Password 
keepassx: Safe.  
keepassx: http://www.keepassx.org/ 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	# qt5
	export PATH="$PATH:/opt/qt5/bin"
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/qt5/lib64"
	export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/qt5/lib64/pkgconfig"
	export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/opt/qt5/include"
	export QT5_PATH="/opt/qt5/bin"
	export QT5_LD_LIBRARY_PATH="/opt/qt5/lib64"
	export QT5_PKG_CONFIG_PATH="/opt/qt5/lib64/pkgconfig"
	export QT5_CPLUS_INCLUDE_PATH="/opt/qt5/include"
	export QT_XKB_CONFIG_ROOT="/usr/share/X11/xkb"

	pkg_build_cmake &&
	pkg_build_slackdesc
}


