#Packager: George Vlahavas pkgname=keepassx pkgver=0.4.4 pkgrel=1gv source=("https://www.keepassx.org/releases/$pkgver/keepassx-$pkgver.tar.gz" "keepassx-0.4.3-gcc47.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://www.keepassx.org/ doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q fi if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "keepassx (personal data management application)" "KeePassX saves many different information e.g. user names, passwords," "urls, attachments and comments in one single database. For a better" "management user-defined titles and icons can be specified for each" "single entry. Furthermore the entries are sorted in groups, which are" "customizable as well. The integrated search function allows to search" "in a single group or the complete database. KeePassX offers a little" "utility for secure password generation." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/keepassx-0.4.3-gcc47.patch || exit 1 qmake \ QMAKE_CFLAGS="$CFLAGS" \ QMAKE_CXXFLAGS="$CXXFLAGS" make -j $numjobs || return 1 make install INSTALL_ROOT=$startdir/pkg }