template 941 B

1234567891011121314151617181920212223242526272829303132
  1. # Template file for 'iridium-rpm'
  2. pkgname=iridium-rpm
  3. version=85.0
  4. revision=1
  5. _rpmfilename="iridium-browser-2020.11.85-1.el8.x86_64.rpm"
  6. archs="x86_64"
  7. wrksrc="${pkgname}-${version}"
  8. create_wrksrc=yes
  9. hostmakedepends="rpmextract cpio xz"
  10. depends="alsa-lib desktop-file-utils flac GConf gnome-themes-standard gtk+ harfbuzz hicolor-icon-theme icu libpng libXtst nss opus snappy speech-dispatcher xdg-utils"
  11. short_desc="Iridium Browser - RHEL/CentOS build altered for Void Linux"
  12. maintainer="reback00 <reback00@protonmail.com>"
  13. license="BSD-3-Clause"
  14. homepage="https://iridiumbrowser.de"
  15. distfiles="https://downloads.iridiumbrowser.de/epel8/$_rpmfilename"
  16. checksum=4af2f18d115718742597d8079504dd8e18257819a0ecf6b9722b1cff6ae144d7
  17. nostrip=yes
  18. pre_fetch() {
  19. mkdir -p "${wrksrc}"
  20. }
  21. do_install() {
  22. mv -f usr/lib64/* usr/lib/
  23. rm -rf usr/lib64
  24. cp -r ./ "${DESTDIR}/"
  25. }
  26. post_install() {
  27. vlicense "usr/share/licenses/iridium-browser/LICENSE"
  28. }