aports/community/kdenetwork-filesharing/APKBUILD
2024-09-13 13:50:51 +00:00

52 lines
1.3 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=kdenetwork-filesharing
pkgver=24.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://www.kde.org/applications/internet/"
pkgdesc="Properties dialog plugin to share a directory with the local network"
license="GPL-2.0-only OR GPL-3.0-only"
depends="samba"
makedepends="
extra-cmake-modules
kcompletion-dev
kcoreaddons-dev
kdeclarative-dev
kdoctools-dev
ki18n-dev
kio-dev
kwidgetsaddons-dev
qcoro-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/network/kdenetwork-filesharing.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdenetwork-filesharing-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DSAMBA_INSTALL=OFF
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
eae1b35ac971b8d2fb68e6835b7e57ee889f16118c3c6e4fa7e30da5b2f99718045ccc40402513c8da968019e4e46def8af907d01c2c70cb3b8da5bdeaea136c kdenetwork-filesharing-24.08.1.tar.xz
"