diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-13 20:27:20 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-13 17:48:10 -0300 |
commit | 27365afdd316239a6b8ccd81e42cf2136303741e (patch) | |
tree | c7c8efaff60474c7652ec381c7f9fbd38fa16da1 /community/nextcloud-client/APKBUILD | |
parent | 57e07f3a34fc24fc039ff10944948044db7b5f99 (diff) | |
download | aports-27365afdd316239a6b8ccd81e42cf2136303741e.tar.bz2 aports-27365afdd316239a6b8ccd81e42cf2136303741e.tar.xz |
community/nextcloud-client: add -dolphin subpackage
Diffstat (limited to 'community/nextcloud-client/APKBUILD')
-rw-r--r-- | community/nextcloud-client/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/community/nextcloud-client/APKBUILD b/community/nextcloud-client/APKBUILD index 4cd454d1c6..94ea77469d 100644 --- a/community/nextcloud-client/APKBUILD +++ b/community/nextcloud-client/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=nextcloud-client pkgver=2.6.0_p1 -pkgrel=0 +pkgrel=1 pkgdesc="Nextcloud Desktop Client" url="https://github.com/nextcloud/desktop" arch="all" license="GPL-2.0-only" makedepends="$depends_dev cmake doxygen qt5-qttools-dev qt5-qtkeychain-dev - graphviz" -subpackages="$pkgname-dev" + graphviz extra-cmake-modules kio-dev" +subpackages="$pkgname-dev $pkgname-dolphin" options="!check" # no testsuite source="$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/desktop/archive/v${pkgver/_p/-fix}.tar.gz remove-qtwebengine.patch" @@ -30,5 +30,16 @@ package() { make DESTDIR="$pkgdir" install } +dolphin() { + pkgdesc="$pkgdesc - KDE Dolphin integration" + install_if="$pkgname dolphin" + + mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share + + mv "$pkgdir"/usr/lib/qt5 "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libnextclouddolphinpluginhelper.so "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/share/kservices5 "$subpkgdir"/usr/share/ +} + sha512sums="be02ba30e927ab8e025684b602493e549a01ba0f49b66c6a9df98f9627f7fa40ea4c3bc15aa0e057769653478f9b7b222cbe2de52d46f71c611d07912a399c55 nextcloud-client-2.6.0_p1.tar.gz c45945cea087d6651078edc0d6315d8fa5c5229afbda2fb3a6f934e66c021d94d835bb9c07e0a1066dd6e89fabbb34b566acba5841e460a480e8a45bd7c687cf remove-qtwebengine.patch" |