diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-10-10 00:52:27 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-10-10 00:52:27 +0000 |
commit | 6ca0a041635024e7f1263b8835a311f3e492174e (patch) | |
tree | d00f1d780c58afc7226d45dc0a44c980614dc33d | |
parent | 0b565373227ad4e873449e70dd836edd26330d07 (diff) | |
parent | b9bd94c59ad3b9b451344c5974a6dd6f547e3017 (diff) | |
download | packages-6ca0a041635024e7f1263b8835a311f3e492174e.tar.gz packages-6ca0a041635024e7f1263b8835a311f3e492174e.tar.bz2 packages-6ca0a041635024e7f1263b8835a311f3e492174e.tar.xz packages-6ca0a041635024e7f1263b8835a311f3e492174e.zip |
Merge branch 'keepassxc' into 'master'
user/keepassxc: new package
See merge request !80
-rw-r--r-- | user/keepassxc/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/keepassxc/APKBUILD b/user/keepassxc/APKBUILD new file mode 100644 index 000000000..14d9235fc --- /dev/null +++ b/user/keepassxc/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Max Rees <maxcrees@me.com> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=keepassxc +pkgver=2.3.4 +pkgrel=0 +pkgdesc="A community revival of the KeePassX password manager" +url="https://keepassxc.org" +arch="all" +license="(GPL-2.0-only OR GPL-3.0-only) AND MIT AND BSD-4-Clause AND ISC AND (LGPL-2.1-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND CC0-1.0 AND Public-Domain AND LGPL-2.1+ AND LGPL-3.0+" +depends="hicolor-icon-theme" +makedepends="cmake xz qt5-qtbase-dev qt5-qttools-dev libgcrypt-dev + zlib-dev libxi-dev libxtst-dev qt5-qtx11extras-dev argon2-dev" +subpackages="$pkgname-doc" +source="https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz" + +prepare() { + cd "$builddir" + mkdir build + default_prepare +} + +build() { + cd "$builddir/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + make +} + +check() { + cd "$builddir/build" + make test +} + +package() { + cd "$builddir/build" + make DESTDIR="$pkgdir" install +} + +sha512sums="edca22ef9d7c553d21d8ea6115a5635265176acc56fdf055f1961a3e65046de49ed5b67eb68ecf4f925226fb5bca140d5d473a5082301168f6a8bb7979f562a8 keepassxc-2.3.4-src.tar.xz" |