# Contributor: ITmodulo # Maintainer: ITmodulo 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" depends="" 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 1f4eec4e846c5c5bcce75ba4495738f6d975de22903805ab76f00fb6123c01a5f1b4d3c67cece84d67be1da7656e94353f3ee710846ad90491f4faee83ecc86a fix_build_with_QT6.diff bf7e9dd6e761243e9f3368eb4b3a3cfe0b222c51b3cdd6db552d3295d0fecb7e2b295f55123b926fe116a4cd011d4744bb3c913ae711400014455bcc56e75015 fix_fts_musl.diff "