contrib/keepassxc/Pkgfile

25 lines
831 B
Plaintext
Raw Normal View History

2019-06-11 23:45:45 +02:00
# Description: KeePass Cross-Platform Community Edition
# URL: https://keepassxc.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: qt5 qrencode libgcrypt yubico-c yubikey-personalization libgpg-error llvm argon2 libsodium
name=keepassxc
2020-01-21 07:47:14 +01:00
version=2.5.3
2019-06-11 23:45:45 +02:00
release=1
source=(https://github.com/keepassxreboot/keepassxc/releases/download/$version/$name-$version-src.tar.xz)
build() {
cd $name-$version
2019-10-27 23:57:24 +01:00
[[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
2019-06-11 23:45:45 +02:00
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_XC_ALL=ON \
..
make
make DESTDIR=$PKG install
2019-10-27 23:57:24 +01:00
rm -fr $PKG/usr/share/keepassxc/{translations,docs}
2019-06-11 23:45:45 +02:00
}