summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0fc0804c2fc25204553663d4c3f0227e55b08add (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: Michael Schubert <mschu.dev at gmail>
pkgname=gnome-shell-extension-system-monitor-git
_pkgname=gnome-shell-system-monitor-applet
pkgver=r704.8b31f07
pkgrel=1
pkgdesc="speed up gnome-shell animations"
arch=('any')
url="https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet"
license=('GPL3')
depends=('gnome-shell<3.21')
makedepends=('git')
install='gschemas.install'
source=("git+https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet")
md5sums=('SKIP')

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

package() {
  cd "$srcdir/$_pkgname"

  for i in $(find -type f)
    do
        install -Dm 644 $i $pkgdir/usr/share/gnome-shell/extensions/$i
  done
}