blob: d6ab16073b23340657de5b4176bc5da1da0fdbe5 (
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
|
# Maintainer: Mohammadreza Abdollahzadeh < morealaz at gmail dot com >
# Contributer: Térence Clastres <t dot clastres at gmail dot com>
pkgname=gnome-shell-extension-gsconnect-git
pkgver=57.r5.g883a8f62
pkgrel=1
pkgdesc="KDE Connect implementation with GNOME Shell integration"
arch=('any')
url="https://github.com/GSConnect/gnome-shell-extension-gsconnect"
license=('GPL')
depends=('gnome-shell')
optdepends=('evolution-data-server: Contacts integration (Evolution)'
'libgdata: Contacts integration (GNOME Online Accounts)'
'python-nautilus: Nautilus integration'
'nemo-python: Nemo integration'
'gsound: Themed sound effects')
makedepends=('git' 'meson' 'eslint')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install="${pkgname%-git}.install"
source=("${pkgname%-git}::git+${url}")
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g;s/rc.\.//'
}
build() {
cd "${pkgname%-git}"
arch-meson --buildtype=plain build
ninja -C build
}
check() {
cd "${pkgname%-git}"
arch-meson check
}
package() {
cd "${pkgname%-git}"
DESTDIR="${pkgdir}" ninja -C build install
}
# vim:set ts=4 sw=4 et:
|