summaryrefslogtreecommitdiff
path: root/keepassxc/Pkgfile
blob: 58909059721cabded4abf5e356c5781f6ae9904c (plain)
    1 # Description: KeePass Cross-Platform Community Edition
    2 # URL: https://keepassxc.org/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: qt5 qrencode libgcrypt yubico-c yubikey-personalization libgpg-error llvm argon2 libsodium
    5 
    6 name=keepassxc
    7 version=2.5.4
    8 release=1
    9 source=(https://github.com/keepassxreboot/keepassxc/releases/download/$version/$name-$version-src.tar.xz)
   10 
   11 build() {
   12   cd $name-$version
   13   [[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
   14   mkdir build && cd build
   15   cmake -DCMAKE_INSTALL_PREFIX=/usr \
   16     -DCMAKE_INSTALL_BINDIR=/usr/bin \
   17     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
   18     -DCMAKE_BUILD_TYPE=Release \
   19     -DWITH_XC_ALL=ON \
   20     ..
   21   make
   22   make DESTDIR=$PKG install
   23   rm -r $PKG/usr/share/keepassxc/{translations,docs}
   24 }

Generated by cgit