Guest User

keepassx2-git

a guest
Apr 13th, 2020
1,783
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
  2. # Contributor: Michael Laß <bevan@bi-co.net>
  3. # Contributor: Marat "Morion" Talipov <morion.self@gmail.com>
  4.  
  5. _pkgname=keepassx
  6. pkgname=keepassx2-git
  7. pkgver=r1281.1682ab9
  8. pkgrel=1
  9. pkgdesc="Cross platform password manager"
  10. url="https://www.keepassx.org"
  11. arch=('x86_64')
  12. license=('GPL2' 'GPL3')
  13. source=('git+https://github.com/keepassx/keepassx.git')
  14. sha256sums=('SKIP')
  15. validpgpkeys=('164C70512F7929476764AB56FE22C6FD83135D45') # Felix Geyer <felix@fobos.de>
  16. depends=('qt5-base' 'qt5-tools' 'libgcrypt' 'zlib' 'libxi' 'libxtst' 'shared-mime-info')
  17. makedepends=('git' 'intltool' 'cmake' 'optipng')
  18. optdepends=('qt5-x11extras: For auto-type on X11')
  19. conflicts=('keepassx2')
  20. provides=('keepassx2')
  21. options=('!emptydirs')
  22.  
  23. pkgver() {
  24.   cd "${srcdir}/${_pkgname}"
  25.  
  26.   # Get the version number.
  27.   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  28. }
  29.  
  30. build() {
  31.   cd "${srcdir}/${_pkgname}"
  32.   mkdir -p build
  33.   cd build
  34.   cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
  35.     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
  36.     -DCMAKE_BUILD_TYPE=Release
  37.   make
  38. }
  39.  
  40. check() {
  41.   cd "${srcdir}/${_pkgname}/build"
  42.   make test
  43. }
  44.  
  45.  
  46. package() {
  47.   cd "${srcdir}/${_pkgname}/build"
  48.   make DESTDIR="${pkgdir}" install
  49.   rename 'keepassx' 'keepassx2' "${pkgdir}"/usr/share/icons/hicolor/*/*/keepassx.png
  50. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×