Commit 4eba7387 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add ungoogled-chromium (unsupported)

parent 0815ebdc
#!/bin/sh
PKGNAME=ungoogled-chromium
SUPPORTEDARCHES="x86_64"
DESCRIPTION='' #"Google Chromium, sans integration with Google from the official site"
. $(dirname $0)/common.sh
PKG=$(epm tool eget --list --latest https://github.com/clickot/ungoogled-chromium-binaries/releases ungoogled-chromium_*_linux.tar.xz) || fatal "Can't get package URL"
epm install "$PKG"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=ungoogled-chromium
. $(dirname $0)/common.sh
#subst '1iAutoProv:no' $SPEC
# move package to /opt
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
add_bin_link_command
# TODO: unsupported
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment