aboutsummaryrefslogblamecommitdiffstats
path: root/community/keepassxc/APKBUILD
blob: d5230a9c5582ca5a5c1d34fbd539e89b91fc3265 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                       
                 

            
                                                                                

                            



                                                                          
                                                                        
                                                                                                           


                          

                                             
                                                 
                                            



                                                       
                                      


                                           
                                       


            



                                                         
                                                                 


         


                 
                                                                                                                                                                         
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=keepassxc
pkgver=2.5.1
pkgrel=0
pkgdesc="Community-driven port of the Windows application Keepass Password Safe"
url="https://keepassxc.org/"
arch="all"
license="GPL-2.0-only OR GPL-3.0-only"
depends="hicolor-icon-theme"
makedepends="argon2-dev cmake libgcrypt-dev libqrencode-dev libsodium-dev
	libxi-dev libxtst-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev
	qt5-qtx11extras-dev zlib-dev quazip-dev yubico-c-dev ykpers-dev"
source="https://github.com/keepassxreboot/keepassxc/releases/download/$pkgver/keepassxc-$pkgver-src.tar.xz"
subpackages="$pkgname-doc"

build() {
	cmake . \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DKEEPASSXC_BUILD_TYPE=RelWithDebInfo \
		-DWITH_XC_AUTOTYPE=ON \
		-DWITH_XC_NETWORKING=ON \
		-DWITH_XC_BROWSER=ON \
		-DWITH_XC_YUBIKEY=ON \
		-DWITH_XC_SSHAGENT=ON \
		-DWITH_XC_KEESHARE=ON \
		-DWITH_XC_UPDATECHECK=OFF \
		-DWITH_XC_FDOSECRETS=ON
	make
}
package() {
	make DESTDIR="$pkgdir" install
	install -d "$pkgdir"/usr/share/doc/$pkgname/ \
		   "$pkgdir"/usr/share/licenses/$pkgname/
	install -t "$pkgdir"/usr/share/doc/$pkgname/ \
		   "$builddir"/CHANGELOG.md "$builddir"/README.md
}

check() {
	make test
}

sha512sums="5500a0e697758e7616754d1b612ad7a64485d9efa1aeb0c3714060db50ffd39ea0aaa0c42d86d17044b834f32e99172ea94bc2485d396a381c8e9212d8be8b37  keepassxc-2.5.1-src.tar.xz"