You are not logged in.

#1 2021-06-25 09:25:30

linlinger
Member
Registered: 2021-02-05
Posts: 3

Creating a new package microsoft edge beta

Hello Everyone I created a PKGBUILD for Microsoft Edge browser. It runs. However I'm not sure about the dependencies. I use namcap to check dependencies and I'm afraid it may be  incorrect.Here is the PKGBUILD


# Maintainer: linlinger <lyx6376@gmail.com>
pkgname=msedge-beta
pkgver=92.0.902.22
pkgrel=1
pkgdesc="The web browser from Microsoft
  Microsoft Edge is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
  Beta channel.Not a release version
"
arch=(x86_64)
url="https://www.microsoft.com/en-us/edge"
license=('custom')
options=('!emptydirs')
depends=('alsa-lib' 'atk' 'at-spi2-atk' 'at-spi2-core' 'cairo' 'dbus' 'expat' 'glib2' 'libcups' 'libdrm' 'libxcb' 'libxcomposite' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr' 'libxshmfence' 'mesa' 'nspr' 'pango' 'util-linux-libs' 'ca-certificates' 'wget' 'xdg-utils')
source=("https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-beta/microsoft-edge-beta_${pkgver}-1_amd64.deb")
sha256sums=('ee91c84ccc42f23c841fe3f3aa3f4a665e28471da8be3bcc3cfb52b6c6da7557')

package() {
    cd ${pkgdir}
    cp ${srcdir}/data.tar.xz ./
    bsdtar -xpf data.tar.xz
    rm -rf data.tar.xz
    mkdir -p ./etc/xdg/menus/applications-merged
    mv ./usr/share/menu/microsoft-edge-beta.menu ./etc/xdg/menus/applications-merged
}

Offline

#2 2021-06-25 10:07:44

a821
Member
Registered: 2012-10-31
Posts: 269

Re: Creating a new package microsoft edge beta

It is available in the AUR by the way... https://aur.archlinux.org/packages/micr … -beta-bin/

Offline

#3 2021-06-25 17:17:57

linlinger
Member
Registered: 2021-02-05
Posts: 3

Re: Creating a new package microsoft edge beta

a821 wrote:

It is available in the AUR by the way... https://aur.archlinux.org/packages/micr … -beta-bin/

Thanks for telling me this

Offline

Board footer

Powered by FluxBB