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
beb999f5
Commit
beb999f5
authored
Jul 07, 2024
by
Valentin Pechenov
Committed by
Vitaly Lipatov
Jul 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add waterfox
parent
34df8a4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
0 deletions
+74
-0
waterfox.sh
pack.d/waterfox.sh
+27
-0
waterfox.sh
play.d/waterfox.sh
+16
-0
waterfox.sh
repack.d/waterfox.sh
+31
-0
No files found.
pack.d/waterfox.sh
0 → 100755
View file @
beb999f5
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
mkdir
-p
opt/
erc unpack
$TAR
||
fatal
mv
$PRODUCT
*
opt/
$PRODUCT
chmod
0755 opt/
$PRODUCT
/glxtest
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Networking/WWW
license: MPL-2.0
url: https://www.waterfox.net/
summary: Fast and Private Web Browser
description: Fast and Private Web Browser
EOF
erc pack
$PKGNAME
.tar opt
||
fatal
return_tar
$PKGNAME
.tar
play.d/waterfox.sh
0 → 100755
View file @
beb999f5
#!/bin/sh
PKGNAME
=
waterfox
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Fast and Private Web Browser"
URL
=
"https://www.waterfox.net/"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"
$(
curl
-s
https://api.github.com/repos/BrowserWorks/Waterfox/releases/latest |
grep
-oP
'"tag_name": "\K(.*?)(?=")'
|
sed
's/G//g'
)
"
fi
PKGURL
=
"https://cdn1.waterfox.net/waterfox/releases/G
$VERSION
/Linux_x86_64/waterfox-G
$VERSION
.tar.bz2"
install_pack_pkgurl
$VERSION
repack.d/waterfox.sh
0 → 100755
View file @
beb999f5
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
#PRODUCT=waterfox
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/
$PRODUCT
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Waterfox
Comment=Fast and Private Web Browser
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
Categories=Networking;WWW
EOF
iconpath
=
$PRODUCTDIR
/browser/chrome/icons/default/
iconname
=
$PRODUCT
for
i
in
16 22 24 32 48 64 128 256
;
do
install_file
$iconpath
/default
$i
.png /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
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