summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cf55c652a4612cf7feba0408b8fde5166ec643d (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
29
30
31
32
33
# Maintainer: Alex S. shantanna_at_hotmail_dot_com>

pkgname=gnome-shell-extension-animation-tweaks-git
_pkgname=Animation-Tweaks
pkgver=11.cfb1a1f
pkgrel=1
pkgdesc="A GNOME Shell Extension to Tweak animations and customize them."
arch=('any')
url="https://github.com/Selenium-H/Animation-Tweaks"
license=('GLPv3')
depends=('gnome-shell')
makedepends=('git')
install=${pkgname}.install
source=('git+https://github.com/Selenium-H/Animation-Tweaks.git')
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  echo $(grep '^Version ' README.md | cut -d' ' -f2).$(git describe --always --tags)
}

package() {
  _extid='animation-tweaks@Selenium-H'
  cd "${srcdir}/${_pkgname}"
  
  cp -af schemas "${_extid}"
  cp -af locale "${_extid}"

  glib-compile-schemas "${_extid}/schemas"

  install -d "${pkgdir}/usr/share/gnome-shell/extensions"
  cp -af "${_extid}" "${pkgdir}/usr/share/gnome-shell/extensions/"
}