Commit c6ba29ec authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add librewolf support

parent 32544f9f
#!/bin/sh
PKGNAME=librewolf
SUPPORTEDARCHES="x86_64"
DESCRIPTION="LibreWolf - a custom version of Firefox, focused on privacy, security and freedom"
. $(dirname $0)/common.sh
arch=amd64
pkgtype=deb
PKG=$(epm tool eget --list --latest https://deb.librewolf.net/pool/focal/main/libr/librewolf/librewolf_*all.deb) || fatal "Can't get package URL"
epm install --repack "$PKG"
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=librewolf
. $(dirname $0)/common.sh
subst '1iAutoReq:yes,noshell,nomonolib,nomono,nopython' $SPEC
subst '1iAutoProv:no' $SPEC
move_to_opt
subst "s|/usr/share/$PRODUCT/$PRODUCT|$PRODUCT|" $BUILDROOT/usr/share/applications/start-$PRODUCT.desktop
cleanup
rm -f $BUILDROOT/usr/bin/librewolf
add_bin_link_command
epm assure patchelf || exit
for i in $BUILDROOT/$PRODUCTDIR/{lib*.so,plugin-container} ; do
a= patchelf --set-rpath '$ORIGIN/' $i || continue
done
for i in $BUILDROOT/$PRODUCTDIR/gmp-clearkey/0.1/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/../../' $i || continue
done
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