Advertisement
Goodevil95

refind-theme-regular-git

May 9th, 2019
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # Maintainer: Jeremy Asuncion <jeremyasuncion808@gmail.com>
  2.  
  3. pkgname='refind-theme-regular-git'
  4. pkgver=r42.7a282d0
  5. pkgrel=1
  6. pkgdesc="A simplistic clean and minimal theme for rEFInd"
  7. arch=('any')
  8. url="https://github.com/bobafetthotmail/refind-theme-regular"
  9. license=('AGPL3' 'custom:OFL' 'custom:Ubuntu Font License 1.0')
  10. depends=('refind-efi')
  11. makedepends=('git')
  12. source=('git+https://github.com/bobafetthotmail/refind-theme-regular')
  13. md5sums=('SKIP')
  14.  
  15. pkgver() {
  16. cd "${pkgname%-git}"
  17. printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  18. }
  19.  
  20. package() {
  21. # Specify path to the refind directory
  22. _refind_home="$pkgdir/boot/EFI/refind"
  23.  
  24. install -D "$srcdir/${pkgname%-git}/theme.conf" "$_refind_home/${pkgname%-git}/theme.conf"
  25. cp -r "$srcdir/${pkgname%-git}/fonts" "$_refind_home/${pkgname%-git}"
  26. cp -r "$srcdir/${pkgname%-git}/icons" "$_refind_home/${pkgname%-git}"
  27.  
  28. warning 'To enable the theme add "include refind-theme-regular/theme.conf" at the end of refind.conf, and comment out or delete any other themes you might have installed.'
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement