summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a621ab54282c8d179b0578cf23b77e36be20a59e (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=gnome-shell-extension-weather-in-the-clock-git
pkgver=r19.ca9682b
pkgrel=1
pkgdesc="Display the current Weather in the Clock."
arch=('any')
url="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock"
license=('GPL3')
depends=('gnome-shell' 'gnome-weather')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url.git")
sha256sums=('SKIP')

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

package() {
	_uuid='weatherintheclock@JasonLG1979.github.io'

	cd "$srcdir/${pkgname%-git}"
	install -d "$pkgdir/usr/share/gnome-shell/extensions"
	cp -a $_uuid "$pkgdir/usr/share/gnome-shell/extensions"
}