dev-php/phar-builder-bin - 0.2.7 (didos)

Search

Install

Install this version:

emerge -a =dev-php/phar-builder-bin-0.2.7

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

autounmask =dev-php/phar-builder-bin-0.2.7

Or alternatively:

emerge --autounmask-write -a =dev-php/phar-builder-bin-0.2.7

Package Information

Description:
Create Phar of Composer based PHP application
Homepage:
https://github.com/MacFJA/PharBuilder
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.2.7 6 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Copyright 2018 Jan Chren (rindeal)
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit rindeal

DESCRIPTION="Create Phar of Composer based PHP application "
HOMEPAGE="https://github.com/MacFJA/PharBuilder"
LICENSE="MIT"

PN_NB="${PN%-bin}"
DISTFILE="phar-builder-${PV}.phar"

SLOT="0"
SRC_URI="https://github.com/MacFJA/PharBuilder/releases/download/${PV}/phar-builder.phar -> ${DISTFILE}"

KEYWORDS="~amd64 ~arm ~arm64"
IUSE_A=( )

CDEPEND_A=()
DEPEND_A=( "${CDEPEND_A[@]}" )
RDEPEND_A=( "${CDEPEND_A[@]}" )

REQUIRED_USE_A=(  )
RESTRICT+=" mirror"

inherit arrays

S="${WORKDIR}"

src_unpack() {
	rcp "${DISTDIR}/${DISTFILE}" "${PN_NB}"
}

src_configure() { : ; }
src_compile() { : ; }

src_install() {
	local inst_dir="/opt/${PN_NB}"
	into "${inst_dir}"
	dobin "${PN_NB}"
	dosym "${inst_dir}/bin/${PN_NB}" /usr/bin/${PN_NB}
}

Inherited Eclasses

Manifest for 0.2.7

Type File Size Source URLs
DIST phar-builder-0.2.7.phar 1307227 bytes https://github.com/MacFJA/PharBuilder/releases/download/0.2.7/phar-builder.phar