aboutsummaryrefslogtreecommitdiff
path: root/network/microsoft-edge
diff options
context:
space:
mode:
authorafhpayne <github@komputermatrix.com>2023-04-28 15:50:58 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 17:20:33 +0700
commit6431e3504b2e9583bc09f3aea8bef75ce65b29be (patch)
tree012fb331cd76b0a3caf6719eee6240702c733cc2 /network/microsoft-edge
parent6a46db582846574540c32142f27527d8d8b5b03d (diff)
network/microsoft-edge: Updated to version 112.0.1722.64
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/microsoft-edge')
-rw-r--r--network/microsoft-edge/README10
-rw-r--r--network/microsoft-edge/microsoft-edge.SlackBuild51
-rw-r--r--network/microsoft-edge/microsoft-edge.info10
-rw-r--r--network/microsoft-edge/slack-desc10
4 files changed, 45 insertions, 36 deletions
diff --git a/network/microsoft-edge/README b/network/microsoft-edge/README
index c2eef051fa994..4643e8a054cd8 100644
--- a/network/microsoft-edge/README
+++ b/network/microsoft-edge/README
@@ -1,3 +1,7 @@
-Microsoft Edge is a cross-platform web browser created and
-developed by Microsoft. It is based on Chromium and offers a fast,
-reliabe and secure browsing experience.
+Microsoft Edge is a proprietary, cross-platform web browser
+created by Microsoft. It was first released in 2015 as part
+of Windows 10 and Xbox One and later ported to other
+platforms as a fork of Google's Chromium open-source
+project: Android and iOS, macOS, older Windows versions
+(Windows 7, Windows Server 2008 R2 and later), and most
+recently Linux.
diff --git a/network/microsoft-edge/microsoft-edge.SlackBuild b/network/microsoft-edge/microsoft-edge.SlackBuild
index 2037064abc805..e1185ce8d8e78 100644
--- a/network/microsoft-edge/microsoft-edge.SlackBuild
+++ b/network/microsoft-edge/microsoft-edge.SlackBuild
@@ -2,6 +2,7 @@
#
# Slackware build script for microsoft-edge.
#
+# Copyright 2023 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
# All rights reserved.
#
@@ -22,13 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Pouria Rezaei <Pouria.rz@outlook.com>
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=microsoft-edge
-SRCNAM=$PRGNAM-stable
-VERSION=${VERSION:-108.0.1462.54}
+BRANCH=stable
+VERSION=${VERSION:-112.0.1722.64}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,7 +44,7 @@ fi
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ echo "$PRGNAM-$BRANCH_$VERSION_$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
@@ -53,37 +52,33 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ BIT="amd64"
else
- echo "Package for $(uname -m) architecture is not available."
+ echo "$ARCH is not supported."
exit 1
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-${VERSION}
mkdir -p $PRGNAM-${VERSION}
-rpm2cpio $CWD/$SRCNAM-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -D $PRGNAM-${VERSION} -idmv
+ar x $CWD/$PRGNAM-$BRANCH"_"${VERSION}-${BUILD}_${BIT}.deb --output $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-mkdir usr/lib64
-mv opt/microsoft/msedge usr/lib64/
-
-# Move man where the man likes
-mv usr/share/man usr/
+rm {control.tar.xz,debian-binary,_gpgorigin}
-rm -fR etc opt
+xz -d data.tar.xz
+tar --extract -f data.tar
-# Moving icons to the source
-cp -r $CWD/icons usr/share/
-
-patch -p1 < "$CWD/updater.diff"
+# remove what won't work
+rm -rf etc
+rm -rf usr/share/gnome-control-center
+rm -rf usr/share/menu
+rm -rf usr/bin
chown -R root:root .
find -L . \
@@ -92,10 +87,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mv * $PKG/
+mkdir -p $PKG/{usr/bin,usr/share,opt}
+ cp -a opt/ $PKG/
+ ln -s /opt/microsoft/msedge/$PRGNAM $PKG/usr/bin/$PRGNAM-$BRANCH
+ cp -a usr/share/man $PKG/usr/
+ cp -a usr/share/{appdata,applications} $PKG/usr/share/
+
+# move icon into place
+mkdir -p $PKG/usr/share/pixmaps
+cp -a opt/microsoft/msedge/product_logo_32.xpm \
+ $PKG/usr/share/pixmaps/microsoft-edge.xpm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a usr/share/doc/microsoft-edge-stable/* $PKG/usr/doc/$PRGNAM-$VERSION/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/microsoft-edge/microsoft-edge.info b/network/microsoft-edge/microsoft-edge.info
index 1777e7a38e475..1ba4917c76969 100644
--- a/network/microsoft-edge/microsoft-edge.info
+++ b/network/microsoft-edge/microsoft-edge.info
@@ -1,10 +1,10 @@
PRGNAM="microsoft-edge"
-VERSION="108.0.1462.54"
+VERSION="112.0.1722.64"
HOMEPAGE="https://www.microsoft.com/edge"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://packages.microsoft.com/yumrepos/edge/microsoft-edge-stable-108.0.1462.54-1.x86_64.rpm"
-MD5SUM_x86_64="4c1d513d6e1760993e1e4f8f5aec0588"
+DOWNLOAD_x86_64="https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_112.0.1722.64-1_amd64.deb"
+MD5SUM_x86_64="a2be33dab379e46f6dcfdb41f23e233d"
REQUIRES=""
-MAINTAINER="Reza Talebi"
-EMAIL="reza.talebi.73@outlook.com"
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/network/microsoft-edge/slack-desc b/network/microsoft-edge/slack-desc
index 7db5b3f1fc08c..0413d92cad2de 100644
--- a/network/microsoft-edge/slack-desc
+++ b/network/microsoft-edge/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-microsoft-edge: microsoft-edge (A fast and secure cross-platform web browser)
+microsoft-edge: microsoft-edge (web browser)
microsoft-edge:
-microsoft-edge: Microsoft Edge is a cross-platform web browser created and
-microsoft-edge: developed by Microsoft. It is based on Chromium and offers a fast,
-microsoft-edge: reliabe and secure browsing experience.
+microsoft-edge: Microsoft Edge is a proprietary, cross-platform web browser created
+microsoft-edge: by Microsoft.
+microsoft-edge:
+microsoft-edge: Home page: https://www.microsoft.com/en-us/edge
microsoft-edge:
microsoft-edge:
-microsoft-edge: Home page: https://www.microsoft.com/edge
microsoft-edge:
microsoft-edge:
microsoft-edge: