Commit 15712294 authored by Иван Мажукин's avatar Иван Мажукин Committed by Vitaly Lipatov

epm play: add radicle (eterbug #17267)

parent 2df12aba
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
VERSION=$3
. $(dirname $0)/common.sh
# radicle-x86_64-unknown-linux-musl.tar.gz
BASENAME=$(basename $TAR .tar.gz)
erc unpack $TAR || fatal
mkdir -p usr/share/man/man1
mkdir -p opt/$PRODUCT
mv */*.1 usr/share/man/man1/
mv */* opt/$PRODUCT/
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar opt usr || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=radicle
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='Radicle is a sovereign code forge built on Git.'
URL="https://radicle.xyz/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
VERSION=$(eget -q -O- "https://files.radicle.xyz/latest/version.json" | epm tool json -b | grep version | awk 'gsub(/"/, "", $2) {print $2}')
[ -n "$VERSION" ] || fatal "Can't get version"
PKGURL="https://files.radicle.xyz/latest/x86_64-unknown-linux-musl/radicle-x86_64-unknown-linux-musl.tar.gz"
install_pack_pkgurl $VERSION
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
add_libs_requires
add_bin_link_command rad
add_bin_link_command git-remote-rad
add_bin_link_command rad-web
add_bin_link_command radicle-httpd
add_bin_link_command radicle-node
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