linux_alpine/srcpkgs/seafile-client/APKBUILD
itmodulo f4fbfb32f6
Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Has been cancelled
Fix sha512sums in seafile-client
2024-01-31 12:03:49 +01:00

41 lines
1.5 KiB
Plaintext

# Contributor: ITmodulo <itmodulo@disroot.org>
# Maintainer: ITmodulo <itmodulo@disroot.org>
pkgname=seafile-client
pkgver=9.0.4
pkgrel=1
pkgdesc="GUI client for synchronizing your local files with seafile server"
arch="all"
url="https://github.com/haiwen/$pkgname"
license="Apache-2.0"
makedepends="cmake extra-cmake-modules qt6-qttools qt6-qt5compat-dev qt6-qtbase-dev qt6-qtwebengine-dev jansson-dev sqlite-dev libsearpc seafile musl-fts-dev musl-dev autoconf automake libtool clang-dev doxygen"
source="
$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
fix_build_with_QT6.diff
fix_fts_musl.diff
"
prepare() {
default_prepare
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "$srcdir/fix_build_with_QT6.diff"
patch -p1 -i "$srcdir/fix_fts_musl.diff"
}
build() {
cmake -B build -S "$srcdir/$pkgname-$pkgver" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_SHIBBOLETH_SUPPORT=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
163b48200e5244816db13ad1f24c3d8177f4d9f940cb0d9f3a5392146c64e7061859010f72f2bed601540f1300d28cf626f8393806ea292f9b508a9938cfcf11 seafile-client-9.0.4.tar.gz
562bebf57c9077fd3a8810c191d0473252625152d8d336c0afdcadd4fa83e3fcf30c826a2c980056a3f828860e0c46b7b660d4fa014e873599de233cc8078e2e fix_build_with_QT6.diff
ceab7e0e0248edf23aec59d9e7e7b11bf3ad96f26b91622fc55e8bf7e804a0432ce9b51f23169404412f91e59be608a991cdf34377abb1e5b9175bf5bb44c13d fix_fts_musl.diff
"