Package Details: owncloud-client-desktop-shell-integration-dolphin-git r21.f0e60f4-3

Git Clone URL: https://aur.archlinux.org/owncloud-client-desktop-shell-integration-dolphin-git.git (read-only, click to copy)
Package Base: owncloud-client-desktop-shell-integration-dolphin-git
Description: ownCloud Dolphin integration
Upstream URL: https://github.com/owncloud/client-desktop-shell-integration-dolphin
Licenses: GPL-2.0
Submitter: jpk24
Maintainer: jpk24
Last Packager: jpk24
Votes: 0
Popularity: 0.000000
First Submitted: 2024-09-09 08:18 (UTC)
Last Updated: 2024-11-29 08:18 (UTC)

Latest Comments

jpk24 commented on 2024-11-29 08:19 (UTC)

@poscat I added your changes.

Poscat commented on 2024-11-29 02:20 (UTC) (edited on 2024-11-29 02:53 (UTC) by Poscat)

This should do it:

diff --git a/PKGBUILD b/PKGBUILD
index c3e25d6..ed49e1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,19 +8,25 @@ pkgdesc='ownCloud Dolphin integration'
 url="https://github.com/owncloud/client-desktop-shell-integration-dolphin"
 license=('GPL-2.0')
 arch=('any')
-depends=('owncloud-client')
+depends=('owncloud-client' 'kio' 'kcoreaddons' 'qt6-base')
 makedepends=('git' 'cmake' 'extra-cmake-modules>=5.52.0')
-source=("${_pkgname}::git+${url}.git")
-sha256sums=('SKIP')
+source=("${_pkgname}::git+${url}.git"
+        "dependency.patch")
+sha256sums=('SKIP'
+            '15338e16dd0045092044cf657320d1026aafa38ec1d8bd48ed2df74268eed6ea')

 pkgver() {
   cd "$srcdir/$_pkgname"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+  cd "$srcdir/$_pkgname"
+  git apply "$srcdir"/dependency.patch
+}
+
 build() {
   cd "$srcdir/$_pkgname"
-  git apply ../../dependency.patch
   mkdir -p build
   cd build
   cmake -DCMAKE_BUILD_TYPE=release ..

(You forgot some dependencies as well)

Poscat commented on 2024-11-29 02:14 (UTC)

dependency.patch should be placed inside source and should be referenced as "$srcdir"/dependency.patch since you won't have access to the PKGBUILD repository using sandboxed build.