· 4 years ago · Feb 07, 2021, 05:10 PM
1# Maintainer: Henri van de Munt <(firstname) @ gmail.com>
2pkgname=gnome-shell-extension-material-shell-git
3pkgver=12.r4.gbce9052
4pkgrel=1
5pkgdesc="GNOME Shell Extension Material Shell"
6arch=('any')
7url="https://github.com/PapyElGringo/material-shell"
8license=('GPL')
9depends=('gnome-shell')
10makedepends=('git' 'npm' 'python2')
11optdepends=('plata-theme: gtk and shell theme'
12 'tela-icon-theme: icon theme'
13 'ttf-roboto: font')
14groups=('gnome-shell-extensions')
15source=('git+https://github.com/PapyElGringo/material-shell.git')
16md5sums=('SKIP')
17
18pkgver() {
19 cd material-shell
20 git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21}
22
23build () {
24 cd material-shell
25 npm install --cache "$srcdir/npm-cache"
26 make compile
27}
28
29package() {
30 cd material-shell
31 install -d "$pkgdir/usr/share/gnome-shell/extensions/material-shell@papyelgringo/"
32 cp -r dist/* "$pkgdir/usr/share/gnome-shell/extensions/material-shell@papyelgringo"
33}