summaryrefslogtreecommitdiff
path: root/user/keepassxc/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-01-13 07:36:52 +0000
committerMax Rees <maxcrees@me.com>2018-10-03 18:01:52 -0400
commitb9bd94c59ad3b9b451344c5974a6dd6f547e3017 (patch)
tree6e5fd370e1bcbfd94d834d5b019a4a11b707891c /user/keepassxc/APKBUILD
parent75ad34513e7be0eb1877e304e52e9f7ee9229425 (diff)
downloadpackages-b9bd94c59ad3b9b451344c5974a6dd6f547e3017.tar.gz
packages-b9bd94c59ad3b9b451344c5974a6dd6f547e3017.tar.bz2
packages-b9bd94c59ad3b9b451344c5974a6dd6f547e3017.tar.xz
packages-b9bd94c59ad3b9b451344c5974a6dd6f547e3017.zip
user/keepassxc: new package
Diffstat (limited to 'user/keepassxc/APKBUILD')
-rw-r--r--user/keepassxc/APKBUILD40
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"