aports/testing/libofx/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

47 lines
1,023 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: 7heo <7heo@mail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=libofx
pkgver=0.10.9
pkgrel=1
pkgdesc="OFX banking protocol abstraction library"
url="https://github.com/libofx/libofx"
arch="all"
license="GPL-2.0-or-later"
makedepends="
cmake
curl-dev
gengetopt
libxml++-2.6-dev
opensp-dev
samurai
"
subpackages="$pkgname-dev $pkgname-tools"
source="https://github.com/libofx/libofx/releases/download/$pkgver/libofx-$pkgver.tar.gz"
options="!check" # fails if /tmp/catalog exists
build() {
cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
tools() {
pkgdesc="$pkgdesc (tools)"
amove usr/bin
amove usr/share
}
sha512sums="
89425912fa8c800ede9d7177ccd5cb3ea2a2301b42aa6580ddb105406fe68c770e2c461eefdea5bc7e883967c90e3519a219bf0b56d12c7de1030d0964d50cac libofx-0.10.9.tar.gz
"