blob: e4015fd77721eecbd850b520fb2b1c77c1d2ed9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Jan Kraus <kraus@itc.rwth-aachen.de>
_pkgname=owncloud-client-desktop-shell-integration-dolphin
pkgname=${_pkgname}-git
pkgver=r21.f0e60f4
pkgrel=3
pkgdesc='ownCloud Dolphin integration'
url="https://github.com/owncloud/client-desktop-shell-integration-dolphin"
license=('GPL-2.0')
arch=('any')
depends=('owncloud-client' 'kio' 'kcoreaddons' 'qt6-base')
makedepends=('git' 'cmake' 'extra-cmake-modules>=5.52.0')
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"
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=release ..
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr"
}
package() {
cd "$srcdir/$_pkgname/build"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
}
# vim: ft=sh ts=2 sw=2 et
|