linux_alpine/srcpkgs/libre-graph-api-cpp-qt-client/APKBUILD
itmodulo ee5739cbbe
All checks were successful
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Successful in 1h3m47s
add owncloud client and deps
2025-04-12 12:52:16 +02:00

34 lines
1.1 KiB
Text
Executable file

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=libre-graph-api-cpp-qt-client
pkgver=1.0.4
pkgrel=0
pkgdesc="Ownclouds' free API for cloud collaboration inspired by the MS Graph API"
url="https://github.com/owncloud/libre-graph-api-cpp-qt-client"
arch="all"
license="Apache-2.0"
depends=
makedepends="extra-cmake-modules glib-dev cmake cmake-extras qt6-qtbase-dev qt5-qtbase-dev samurai"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/owncloud/libre-graph-api-cpp-qt-client/archive/refs/tags/v$pkgver.tar.gz"
options="!check"
build() {
cd client
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname
cmake --build build
}
package() {
cd client
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
1e7a190abb92c9f3a5d4de8f6c1c3b8c2f8bd2c037e104fc869db8c6eab40eb878e51a627946cdf944ad768db31969e9776d14df3590e30ca3a2be5de0c722b5 libre-graph-api-cpp-qt-client-1.0.4.tar.gz
"