-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathungoogled-chromium.yml
32 lines (29 loc) · 1.37 KB
/
ungoogled-chromium.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# AppImage Recipe for ungoogled-chromium
# Author: Intika
# Based upon the AppImage recipe for Chromium
#
# You can easily make your own using this recipe like this on a Debian/Ubuntu/Rhel system:
# wget -c "https://github.com/AppImage/AppImages/raw/master/pkg2appimage"
# bash -ex pkg2appimage ungoogled-chromium
app: ungoogled-chromium
ingredients:
package: libgconf2-4
dist: trusty
sources:
- deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe
script:
- mkdir -p ./opt/google/chrome/ ; tar xf ../../../build/ungoogled-chromium_*_linux.tar.xz --strip-components=1 -C ./opt/google/chrome/
- mkdir -p usr/share/icons/hicolor/48x48/apps/
- cp ./opt/google/chrome/product_logo_48.png usr/share/icons/hicolor/48x48/apps/chromium.png
- cp usr/share/icons/hicolor/48x48/apps/chromium.png .
- wget -c "https://github.com/ungoogled-software/ungoogled-chromium-debian/raw/debian_buster/debian/chromium.desktop" -O ungoogled-chromium.desktop
- sed -i -e 's|Exec=chromium|Exec=AppRun|g' ungoogled-chromium.desktop
- sed -i -e 's|Chromium|Chromium (ungoogled)|g' ungoogled-chromium.desktop
- sed -i -e 's|3.26|3.00|g' opt/google/chrome/chrome
- cat > ./AppRun <<\EOF
- #!/bin/sh
- HERE=$(dirname $(readlink -f "${0}"))
- export LD_LIBRARY_PATH="${HERE}"/usr/lib:$PATH
- "${HERE}"/opt/google/chrome/chrome --password-store=basic $@
- EOF
- chmod a+x ./AppRun