Guest User

Microsoft Edge 93.0.946.1

a guest
Jul 14th, 2021
133
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Solomon Choina<shlomochoina@gmail.com>
  2. # Contributor: Vlad <ejiek at mail.ru>
  3. # Contributor: intrnl
  4.  
  5. pkgname=microsoft-edge-dev-bin
  6. _pkgname=microsoft-edge-dev
  7. _pkgshortname=msedge-dev
  8. pkgver=93.0.946.1
  9. pkgrel=1
  10. pkgdesc="A browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier"
  11. arch=('x86_64')
  12. url="https://www.microsoftedgeinsider.com/en-us/download"
  13. license=('custom')
  14. provides=('microsoft-edge-dev' 'edge-dev')
  15. conflicts=('microsoft-edge-dev' 'edge-dev' 'edge-dev-bin' 'edge')
  16. depends=('gtk3' 'libcups' 'nss' 'alsa-lib' 'libxtst' 'libdrm' 'mesa')
  17. makedepends=('imagemagick')
  18. optdepends=('libpipewire02: WebRTC desktop sharing under Wayland'
  19. 'kdialog: for file dialogs in KDE'
  20. 'gnome-keyring: for storing passwords in GNOME keyring'
  21. 'kwallet: for storing passwords in KWallet'
  22. 'gtk3: for printing'
  23. 'libunity: for download progress on KDE'
  24. 'ttf-liberation: fix fonts for some PDFs - CRBug #369991'
  25. 'xdg-utils')
  26. options=(!strip !zipman)
  27. _channel=dev
  28. source=("https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-dev/${_pkgname}_${pkgver}-1_amd64.deb"
  29. "microsoft-edge-dev.sh"
  30. "Microsoft Standard Application License Terms - Standalone (free) Use Terms.pdf")
  31. sha256sums=('ad9afc85f101c879fd56da4d26ead569429034d13a7ee5cc53febedeeb5fd082'
  32. '285afe53b2cd617ae7f4930a1d0befe12a97ae31c30cfad74e97bf695c6f6a8a'
  33. 'edf2ed596eb068f168287fc76aa713ad5e0afb59f0a0a47a4f29c0c124ade15e')
  34.  
  35. package() {
  36. bsdtar -xf data.tar.xz -C "$pkgdir/"
  37.  
  38. # suid sandbox
  39. chmod 4755 "${pkgdir}/opt/microsoft/${_pkgshortname}/msedge-sandbox"
  40.  
  41. # 256 and 24 are proper colored icons
  42. for res in 128 64 48 32; do
  43. convert "${pkgdir}/opt/microsoft/${_pkgshortname}/product_logo_256_dev.png" \
  44. -resize ${res}x${res} \
  45. "${pkgdir}/opt/microsoft/${_pkgshortname}/product_logo_${res}_dev.png"
  46. done
  47. for res in 22 16; do
  48. convert "${pkgdir}/opt/microsoft/${_pkgshortname}/product_logo_24_dev.png" \
  49. -resize ${res}x${res} \
  50. "${pkgdir}/opt/microsoft/${_pkgshortname}/product_logo_${res}_dev.png"
  51. done
  52.  
  53. # install icons
  54. for res in 16 22 24 32 48 64 128 256; do
  55. install -Dm644 "${pkgdir}/opt/microsoft/${_pkgshortname}/product_logo_${res}_dev.png" \
  56. "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/${_pkgname}.png"
  57. done
  58.  
  59. # User flag aware launcher
  60. install -m755 microsoft-edge-dev.sh "${pkgdir}/usr/bin/microsoft-edge-dev"
  61.  
  62. # License
  63. install -Dm644 'Microsoft Standard Application License Terms - Standalone (free) Use Terms.pdf' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.pdf"
  64. rm -r "${pkgdir}/etc/cron.daily/" "${pkgdir}/opt/microsoft/${_pkgshortname}/cron/"
  65. # Globbing seems not to work inside double parenthesis
  66. rm "${pkgdir}/opt/microsoft/${_pkgshortname}"/product_logo_*.png
  67. }
RAW Paste Data