app=keepassxc version=2.6.6 build=1sml homepage="https://keepassxc.org/" download="https://github.com/keepassxreboot/keepassxc/releases/download/2.6.6/keepassxc-2.6.6-src.tar.xz" desc="QT5 Community port of Keepass password manager" requires="argon2 qrencode qtsvg qtx11extras" build() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version-src.tar.?z* cd $app-$version fixbuilddirpermissions mkdir smbuild && cd smbuild cmake .. \ -DCMAKE_INSTALL_PREFIX="" \ -DCMAKE_C_FLAGS="$CFLAGS" \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -Wno-dev \ -DCMAKE_INSTALL_LIBDIR=lib \ -DWITH_XC_UPDATECHECK=OFF \ -DWITH_XC_DOCS=OFF # Fix the linking file sed -i 's@-lreadline@-lreadline -lterminfo@g' src/cli/CMakeFiles/keepassxc-cli.dir/link.txt make make install DESTDIR=$pkg cp ../LICENSE* $pkgdocs/ mkfinalpkg } sha512sums=" 175702ef3ae5b048ba23a794ddf4e17d61f2640955de7ec21a3e49e4abe7cab8c93c9a2bc61c5c052c62382a69bd8dcb4a4f0cf6daa162f5e00cff3f7a1a713b keepassxc-2.6.6-src.tar.xz "