yochananmarqos

gnome-shell-extension-material-shell-git

Feb 7th, 2021 (edited)
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Henri van de Munt <(firstname) @ gmail.com>
  2. pkgname=gnome-shell-extension-material-shell-git
  3. pkgver=12.r4.gbce9052
  4. pkgrel=1
  5. pkgdesc="GNOME Shell Extension Material Shell"
  6. arch=('any')
  7. url="https://github.com/PapyElGringo/material-shell"
  8. license=('GPL')
  9. depends=('gnome-shell')
  10. makedepends=('git' 'npm' 'python2')
  11. optdepends=('plata-theme: gtk and shell theme'
  12.             'tela-icon-theme-git: icon theme'
  13.             'ttf-roboto: font')
  14. groups=('gnome-shell-extensions')
  15. source=('git+https://github.com/PapyElGringo/material-shell.git')
  16. md5sums=('SKIP')
  17.  
  18. pkgver() {
  19.   cd material-shell
  20.   git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  21. }
  22.  
  23. build () {
  24.   cd material-shell
  25.   npm install --cache "$srcdir/npm-cache"
  26.   make compile
  27. }
  28.  
  29. package() {
  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. }
RAW Paste Data