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
Vladislav
eepm
Commits
54b0ade5
Commit
54b0ade5
authored
Apr 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: improve ungoogled-chromium
parent
7d4abde1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
+31
-7
ungoogled-chromium.sh
play.d/ungoogled-chromium.sh
+1
-1
ungoogled-chromium.sh
repack.d/ungoogled-chromium.sh
+30
-6
No files found.
play.d/ungoogled-chromium.sh
View file @
54b0ade5
...
...
@@ -2,7 +2,7 @@
PKGNAME
=
ungoogled-chromium
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
''
#
"Google Chromium, sans integration with Google from the official site"
DESCRIPTION
=
"Google Chromium, sans integration with Google from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
repack.d/ungoogled-chromium.sh
View file @
54b0ade5
...
...
@@ -6,7 +6,7 @@ SPEC="$2"
PRODUCT
=
ungoogled-chromium
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common
-chromium-browser
.sh
#subst '1iAutoProv:no' $SPEC
...
...
@@ -15,10 +15,34 @@ ROOTDIR=$(basename $(find $BUILDROOT -mindepth 1 -maxdepth 1 -type d))
subst
"s|^License: unknown
$|
License: BSD-3-Clause license|"
$SPEC
subst
"s|^Summary:.*|Summary: Google Chromium, sans integration with Google|"
$SPEC
mkdir
$BUILDROOT
/opt
mv
$BUILDROOT
/
$ROOTDIR
$BUILDROOT
/opt/
$PRODUCT
subst
"s|
\"
/
$ROOTDIR
/|
\"
/opt/
$PRODUCT
/|"
$SPEC
move_to_opt /
$ROOTDIR
add_bin_link_command
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/chrome-wrapper
# TODO: unsupported
use_system_xdg
install_file
$PRODUCTDIR
/product_logo_48.png /usr/share/pixmaps/
$PRODUCT
.png
create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Ungoogled Chromium Web Browser
Name[ru]=Веб-браузер Ungoogled Chromium
Comment=Google Chromium, sans integration with Google
Icon=
$PRODUCT
Exec=
$PRODUCT
%u
Categories=GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Terminal=false
GenericName=Ungoogle Chromium Web Browser
GenericName[ru]=Веб-браузер Ungoogled Chromium
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
set_alt_alternatives 65
install_deps
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