Commit 46003c14 authored by Maxim Slipenko's avatar Maxim Slipenko Committed by Vitaly Lipatov

epm play: add Trezor Suite

parent 56bcb70a
#!/bin/sh
PKGNAME=Trezor-Suite
SUPPORTEDARCHES="x86_64 aarch64"
VERSION="$2"
DESCRIPTION="Management software for Trezor hardware cryptocurrency wallets"
URL="https://github.com/trezor/trezor-suite/releases"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
arch=x86_64
;;
aarch64)
arch=arm64
;;
*)
fatal "$arch arch is not supported"
;;
esac
PKGURL=$(eget --list --latest $URL $(epm print constructname Trezor-Suite "$VERSION" linux-$arch AppImage "-" "-"))
install_pkgurl
#!/bin/sh -x
BUILDROOT="$1"
SPEC="$2"
PRODUCT=Trezor-Suite
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common.sh
subst "s|^License: unknown$|License: T-RSL|" $SPEC
subst "s|^Summary:.*|Summary: Management software for Trezor hardware cryptocurrency wallets|" $SPEC
epm tool eget -O - https://data.trezor.io/udev/51-trezor.rules | create_file /etc/udev/rules.d/51-trezor.rules
ignore_lib_requires liblog.so libm.so libdl.so libc.so libc++_shared.so libc.musl-x86_64.so.1
add_libs_requires
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