Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
35ff7105
Commit
35ff7105
authored
Nov 05, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play librewolf: replace url and add latest version from vendor (eterbug #17816)
parent
833292e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
librewolf.sh
play.d/librewolf.sh
+16
-6
No files found.
play.d/librewolf.sh
View file @
35ff7105
#!/bin/sh
PKGNAME
=
librewolf
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64
aarch64
"
VERSION
=
"
$2
"
DESCRIPTION
=
"LibreWolf - a custom version of Firefox, focused on privacy, security and freedom"
URL
=
"https://librewolf.net/"
...
...
@@ -10,21 +10,31 @@ URL="https://librewolf.net/"
arch
=
x86_64
if
[
"
$(
epm print info
-a
)
"
=
"aarch64"
]
;
then
arch
=
"arm64"
fi
if
[
"
$VERSION
"
=
"*"
]
;
then
# Get latest version from vendor
VERSION
=
$(
eget
--list
--latest
https://repo.librewolf.net/pool/ |
grep
-oE
'[0-9]+\.[0-9]+(\.[0-9]+)?'
)
fi
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
# https://r
pm.librewolf.net/pool/librewolf-124.0.1-1.fc38.x86_64
.rpm
PKGURL
=
"https://r
pm.librewolf.net/pool/librewolf-
$VERSION
-[0-9]*.
$arch
.rpm"
# https://r
epo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-rpm
.rpm
PKGURL
=
"https://r
epo.librewolf.net/pool/librewolf-
$VERSION
-[0-9]*-linux-
$arch
-rpm
.rpm"
;;
*
)
# https://
deb.librewolf.net/pool/focal/librewolf-124.0.1-1.en-US.ubuntu20.x86_64
.deb
PKGURL
=
"https://
deb.librewolf.net/pool/focal/librewolf-
$VERSION
-[0-9]*.
$arch
.deb"
# https://
repo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-deb
.deb
PKGURL
=
"https://
repo.librewolf.net/pool/librewolf-
$VERSION
-[0-9]*-linux-
$arch
-deb
.deb"
;;
esac
if
!
is_glibc_enough 2.35
;
then
# use deb package for old glibc
PKGURL
=
"https://
deb.librewolf.net/pool/focal/librewolf-
$VERSION
-[0-9]*.
$arch
.deb"
PKGURL
=
"https://
repo.librewolf.net/pool/librewolf-
$VERSION
-[0-9]*-linux-
$arch
-deb
.deb"
fi
install_pkgurl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment