linux_alpine/srcpkgs/owncloud-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.2 KiB
Text
Executable file

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=owncloud-client
pkgver=6.0.0
pkgrel=0
pkgdesc="ownCloud Desktop Client"
url="https://github.com/owncloud/client"
arch="all"
license="GPL-2.0-or-later"
depends=
makedepends="samurai kdsingleapplication-dev qt6-qtbase-dev qt5-qtbase-dev extra-cmake-modules glib-dev cmake qt6-qttools-dev cmake-extras libayatana-appindicator-dev qt6-qtwebengine-dev qtkeychain-dev sqlite-dev qt6-qtquick3d-dev qt6-qtscxml-dev libre-graph-api-cpp-qt-client-dev "
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/owncloud/client/archive/v$pkgver-rc.1.tar.gz"
options="!check"
build() {
cd client-$pkgver-rc.1
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname
cmake --build build
}
package() {
cd src/client-$pkgver-rc.1
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8ee48b0881022b5dde5136748637dfb5e525ff63d3fe1fd034c768df43d2463907f7eb6053dea314caf1f2918e890353d48c58bbfd531643653ced8920fbd14b owncloud-client-6.0.0.tar.gz
"