yochananmarqos

skeuos-gtk-theme-git

Jul 30th, 2021 (edited)
1,159
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=skeuos-gtk-theme-git
  2. _pkgname="${pkgname%-theme-git}"
  3. pkgver=20210921.r0.gc67518f
  4. pkgrel=1
  5. pkgdesc="Skeuomorphic GTK theme"
  6. arch=('any')
  7. url="https://gnome-look.org/p/1441725"
  8. license=('GPL3')
  9. makedepends=('git')
  10. provides=("${pkgname%-git}")
  11. conflicts=("${pkgname%-git}")
  12. options=('!strip')
  13. source=('git+https://github.com/daniruiz/skeuos-gtk.git')
  14. sha256sums=('SKIP')
  15.  
  16. pkgver() {
  17.   cd "$srcdir/$_pkgname"
  18.   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  19. }
  20.  
  21. package() {
  22.   cd "$srcdir/$_pkgname"
  23.   make DESTDIR="$pkgdir/" install
  24.  
  25.   pushd themes
  26.   for color in Black Blue Brown Cyan Green Grey Magenta Orange Red Teal Violet White Yellow; do
  27.  
  28.     # GNOME Shell default
  29.     cp -r Skeuos-${color}-Dark-GNOME_40/gnome-shell "$pkgdir"/usr/share/themes/Skeuos-${color}-Dark
  30.     cp -r Skeuos-${color}-Light-GNOME_40/gnome-shell "$pkgdir"/usr/share/themes/Skeuos-${color}-Light
  31.  
  32.     # GNOME Shell full panel
  33. #    cp -r Skeuos-${color}-Dark-FullPanel-GNOME_40/gnome-shell "$pkgdir"/usr/share/themes/Skeuos-${color}-Dark
  34. #    cp -r Skeuos-${color}-Light-FullPanel-GNOME_40/gnome-shell "$pkgdir"/usr/share/themes/Skeuos-${color}-Light
  35.  
  36.     # XFWM default
  37.     cp -r Skeuos-${color}-Dark-XFWM/xfwm4 "$pkgdir"/usr/share/themes/Skeuos-${color}-Dark
  38.     cp -r Skeuos-${color}-Light-XFWM/xfwm4 "$pkgdir"/usr/share/themes/Skeuos-${color}-Light
  39.  
  40.     # XFWM xHiDPI
  41. #    cp -r Skeuos-${color}-Dark-XFWM-xHiDPI/xfwm4 "$pkgdir"/usr/share/themes/Skeuos-${color}-Dark
  42. #    cp -r Skeuos-${color}-Light-XFWM-xHiDPI/xfwm4 "$pkgdir"/usr/share/themes/Skeuos-${color}-Light
  43.   done
  44.   popd
  45. }
RAW Paste Data