summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cfb1e0c49ef08fd1d52908e294d41df9f8da4cf (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
43
44
45
46
47
48
49
50
# Maintainer: Térence Clastres <t dot clastres at gmail dot com>

pkgname=gnome-shell-extension-gsconnect-git
pkgver=v13.alpha.r19.ff0328a
pkgrel=2
pkgdesc="KDE Connect implementation with GNOME Shell integration"
arch=('any')
url="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
license=('GPL')
groups=()
depends=('gnome-shell')
optdepends=(
  'sshfs: Browse remote files'
  'folks: Contacts integration (Evolution)'
  'libgdata: Contacts integration (GNOME Online Accounts)'
  'python-nautilus: Nautilus integration'
  'gsound: Themed sound effects'
)
makedepends=('git' 'meson')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=()
install=
source=('git+'${url})
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"

	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}


build() {
	cd "$srcdir/${pkgname%-git}"

  arch-meson --buildtype=plain build
  ninja -C build
}

check() {
	cd "$srcdir/${pkgname%-git}"
	arch-meson check 
}

package() {
	cd "$srcdir/${pkgname%-git}"
  DESTDIR="$pkgdir" ninja -C build install
}