summaryrefslogtreecommitdiff
path: root/user/keepassxc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 06:22:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 06:22:25 +0000
commitfc973aed71950a37b43cd006a9f62b8c23373915 (patch)
tree61d1a9146d366e978d52e834af7ddc3f9d8015e5 /user/keepassxc
parent73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e (diff)
downloadpackages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.gz
packages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.bz2
packages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.xz
packages-fc973aed71950a37b43cd006a9f62b8c23373915.zip
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/keepassxc')
-rw-r--r--user/keepassxc/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/user/keepassxc/APKBUILD b/user/keepassxc/APKBUILD
index 2e58efa7f..739ee75db 100644
--- a/user/keepassxc/APKBUILD
+++ b/user/keepassxc/APKBUILD
@@ -14,27 +14,21 @@ makedepends="argon2-dev cmake libgcrypt-dev libqrencode-dev libsodium-dev
subpackages="$pkgname-doc"
source="https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"
-prepare() {
- default_prepare
- mkdir build
-}
-
build() {
- cd "$builddir/build"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
- make
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -Bbuild
+ make -C build
}
check() {
- cd "$builddir/build"
- make test
+ make -C build test
}
package() {
- cd "$builddir/build"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="893f1d18ab8051143d29c568ba87adcc42a13d28d0c3a7af04396cd91d6724f8a98d76d2e20ca15138c4642ec060d48b9e957857251f3a0df6066af08cd0765d keepassxc-2.4.3-src.tar.xz"