app-text/md2png-bin - 0.5.13 (arrans-overlay)

Search

Install

Install this version:

emerge -a =app-text/md2png-bin-0.5.13

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/md2png-bin-0.5.13

Or alternatively:

emerge --autounmask-write -a =app-text/md2png-bin-0.5.13

Package Information

Description:
Render Markdown directly to PNG or JPEG images with a single static Go binary.
Homepage:
https://github.com/arran4/md2png
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.5.13 8 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/app-text-md2png-bin-update.yaml
EAPI=8
DESCRIPTION="Render Markdown directly to PNG or JPEG images with a single static Go binary."
HOMEPAGE="https://github.com/arran4/md2png"
SRC_URI="
  amd64? (  https://github.com/arran4/md2png/releases/download/v${PV}/md2png_${PV}_Linux_x86_64.tar.gz -> ${P}-md2png_${PV}_Linux_x86_64.tar.gz  )  
  arm? (  https://github.com/arran4/md2png/releases/download/v${PV}/md2png_${PV}_Linux_armv7.tar.gz -> ${P}-md2png_${PV}_Linux_armv7.tar.gz  )  
  arm64? (  https://github.com/arran4/md2png/releases/download/v${PV}/md2png_${PV}_Linux_arm64.tar.gz -> ${P}-md2png_${PV}_Linux_arm64.tar.gz  )  
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
IUSE=""

REQUIRED_USE=""

RDEPEND=""

S="${WORKDIR}"

src_unpack() {
  if use amd64; then
    unpack "${DISTDIR}/${P}-md2png_${PV}_Linux_x86_64.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm; then
    unpack "${DISTDIR}/${P}-md2png_${PV}_Linux_armv7.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm64; then
    unpack "${DISTDIR}/${P}-md2png_${PV}_Linux_arm64.tar.gz" || die "Can't unpack archive file"
  fi
}

src_install() {
  exeinto /opt/bin
  if use amd64; then
    newexe "md2png" "md2png" || die "Failed to install Binary"
  fi
  if use arm; then
    newexe "md2png" "md2png" || die "Failed to install Binary"
  fi
  if use arm64; then
    newexe "md2png" "md2png" || die "Failed to install Binary"
  fi
}

Manifest for 0.5.13

Type File Size Source URLs
DIST md2png-bin-0.5.13-md2png_0.5.13_Linux_arm64.tar.gz 3934217 bytes https://github.com/arran4/md2png/releases/download/v0.5.13/md2png_0.5.13_Linux_arm64.tar.gz
DIST md2png-bin-0.5.13-md2png_0.5.13_Linux_armv7.tar.gz 4100949 bytes https://github.com/arran4/md2png/releases/download/v0.5.13/md2png_0.5.13_Linux_armv7.tar.gz
DIST md2png-bin-0.5.13-md2png_0.5.13_Linux_x86_64.tar.gz 4200115 bytes https://github.com/arran4/md2png/releases/download/v0.5.13/md2png_0.5.13_Linux_x86_64.tar.gz