summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 259e932761740a07779789ec418339e63db67666 (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: Stephen Brandt <stephen@stephenbrandt.com>

pkgname=gnome-shell-extension-haguichi-indicator-git
_gitname=gse-haguichi-indicator
_uuid='gse-haguichi-indicator@ztefn.github.com'
pkgver=r36.25968bd
pkgrel=1
pkgdesc="Lets you control Haguichi directly from the system status area in GNOME Shell."
arch=('any')
url="https://github.com/ztefn/$_gitname"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
provides=('gnome-shell-extension-haguichi-indicator')
conflicts=('gnome-shell-extension-haguichi-indicator')
source=("git+$url")
sha512sums=('SKIP')

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

package() {
  cd "$srcdir/$_gitname"
  mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
  cp -R "$_uuid" "$pkgdir/usr/share/gnome-shell/extensions"
}