Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Balló György <ballogyor+arch at gmail dot com>
- # Maintainer: Bruno Pagani <[email protected]>
- # Contributor (PR#2830): Joan Bruguera Micó <[email protected]>
- pkgname=keepassxc
- pkgver=2.4.0
- pkgrel=500
- pkgdesc="Cross-platform community-driven port of Keepass password manager"
- arch=(x86_64)
- url="https://keepassxc.org/"
- license=(GPL)
- depends=(hicolor-icon-theme libgcrypt argon2 libsodium
- libxtst qt5-svg qt5-x11extras
- yubikey-personalization curl qrencode)
- makedepends=(git cmake qt5-tools)
- _tag=302f7a76f70f1e09318f903b3e38d4d0c504bee6 # git rev-parse ${pkgver}
- source=("git+https://github.com/keepassxreboot/keepassxc#tag=${_tag}?signed"
- "https://patch-diff.githubusercontent.com/raw/keepassxreboot/keepassxc/pull/2830.patch")
- sha256sums=('SKIP' 'SKIP')
- prepare() {
- mkdir -p build
- # Apply PR#2830 from GitHub
- cd $pkgname
- patch -p1 < ../2830.patch
- }
- build() {
- cd build
- cmake ../${pkgname} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DWITH_XC_ALL=ON
- make
- }
- check() {
- cd build
- make test
- }
- package() {
- cd build
- make DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment