PKGBUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp>
  2. pkgname=mkinitcpio-paralogo
  3. pkgver=0.0.2
  4. pkgrel=1
  5. pkgdesc="Add colored Parabola Linux ASCII art logo to early boot process"
  6. arch=('any')
  7. url=https://git.parabola.nu/mkinitcpio-paralogo.git/
  8. license=('GPL')
  9. depends=('mkinitcpio')
  10. makedepends=('git')
  11. backup=('etc/paralogo.conf')
  12. install=mkinitcpio-paralogo.install
  13. source=(git+https://git.parabola.nu/mkinitcpio-paralogo.git#tag=${pkgver})
  14. sha256sums=('SKIP')
  15. package()
  16. {
  17. cd "${srcdir}"/mkinitcpio-paralogo/
  18. # install hook for plain old script based initramfs
  19. install -m0755 -d "${pkgdir}"/usr/lib/initcpio/hooks/
  20. install -m0755 hook/paralogo "${pkgdir}"/usr/lib/initcpio/hooks/
  21. # install config
  22. install -m0755 -d "${pkgdir}"/etc/
  23. install -m0644 etc/paralogo.conf "${pkgdir}"/etc/
  24. # install logos
  25. install -m0755 -d "${pkgdir}"/usr/share/paralogo/
  26. install -m0644 share/paralogo "${pkgdir}"/usr/share/paralogo/
  27. install -m0644 share/paralogo2 "${pkgdir}"/usr/share/paralogo/
  28. install -m0644 share/paralogo3 "${pkgdir}"/usr/share/paralogo/
  29. install -m0644 share/paralogo4 "${pkgdir}"/usr/share/paralogo/
  30. install -m0644 share/paralogo5 "${pkgdir}"/usr/share/paralogo/
  31. # install README
  32. install -m0755 -d "${pkgdir}"/usr/share/doc/paralogo/
  33. install -m0644 README.md "${pkgdir}"/usr/share/doc/paralogo/
  34. }