diff options
Diffstat (limited to 'user/keepassxc/APKBUILD')
-rw-r--r-- | user/keepassxc/APKBUILD | 20 |
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" |