summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 632acb2d2d2a89e2347c40af2d353d01a9b2a4f3 (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
# Maintainer: 
# Contributor: Mark Wagie <mark dot wagie at proton dot me>
pkgname=gnome-shell-extension-weather-in-the-clock-git
_uuid=weatherintheclock@JasonLG1979.github.io
pkgver=r27.38ba360
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=('GPL-3.0-or-later')
depends=('gnome-shell<=1:44.6')
makedepends=('git')
optdepends=('gnome-weather: configure location')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock.git")
sha256sums=('SKIP')

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

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