summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 508827329bea3725e12319ad87c684bfdf1bd2bc (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: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
pkgname=gnome-shell-extension-impatience-git
_pkgname=gnome-shell-impatience
pkgver=r43.e8e132f
pkgrel=1
pkgdesc="speed up gnome-shell animations"
arch=('any')
url="https://github.com/gfxmonk/gnome-shell-impatience"
license=('GPL3')
depends=('gnome-shell>=1:40' 'gnome-shell<1:41')
makedepends=('git')
install='gschemas.install'
source=("git+https://github.com/gfxmonk/gnome-shell-impatience")
sha256sums=('SKIP')

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

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

  for i in $(find -type f); do
    install -Dm 644 $i $pkgdir/usr/share/gnome-shell/extensions/impatience@gfxmonk.net/$i
  done
}