app-misc/mvcommon-bin - 1.0.9 (arrans-overlay)

Search

Install

Install this version:

emerge -a =app-misc/mvcommon-bin-1.0.9

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

autounmask =app-misc/mvcommon-bin-1.0.9

Or alternatively:

emerge --autounmask-write -a =app-misc/mvcommon-bin-1.0.9

Package Information

Description:
Tool for moving files into a folder where they have a common prefix
License:
GNU General Public License v3.0

Ebuild Details

Version EAPI Keywords Slot
1.0.9 8 ~amd64 ~arm64 0
View Raw Ebuild
# SPDX-License-Identifier: MIT
# Generated via:
#   repository: https://github.com/arran4/arrans_overlay
#   commit: 5837e3256a3f5a74b78aca10d8738d61303af6e6
#   workflow: .github/workflows/app-misc-mvcommon-bin-update.yaml
EAPI=8
DESCRIPTION=""
DESCRIPTION+="Tool for moving files into a folder where they have a common "
DESCRIPTION+="prefix"
HOMEPAGE=""
SRC_URI=""
SRC_URI+=" amd64? (   "
SRC_URI+="https://github.com/arran4/mvcommon/releases/download/v1.0.9/mvcommon_1.0.9_linux_amd64.tar.gz "
SRC_URI+=" -> ${P}-mvcommon_${PV}_linux_amd64.tar.gz  )   arm64? (   "
SRC_URI+="https://github.com/arran4/mvcommon/releases/download/v1.0.9/mvcommon_1.0.9_linux_arm64.tar.gz "
SRC_URI+=" -> ${P}-mvcommon_${PV}_linux_arm64.tar.gz  )  "
LICENSE=""
LICENSE+="GNU General Public License v3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
IUSE+=" doc"

REQUIRED_USE=""

RDEPEND=""

S="${WORKDIR}"

src_unpack() {
	if use amd64; then
		unpack "${DISTDIR}/${P}-mvcommon_${PV}_linux_amd64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use arm64; then
		unpack "${DISTDIR}/${P}-mvcommon_${PV}_linux_arm64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
}

src_install() {
	exeinto /opt/bin
	if use amd64; then
		newexe \
			"mvcommon" \
			"mvcommon" \
			|| die "Failed to install Binary"
	fi
	if use arm64; then
		newexe \
			"mvcommon" \
			"mvcommon" \
			|| die "Failed to install Binary"
	fi
	if use doc; then
		dodoc "LICENSE" || die "Failed to install document LICENSE"
		dodoc "readme.md" || die "Failed to install document readme.md"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/mvcommon-bin | euse -E <flag> -p app-misc/mvcommon-bin | euse -D <flag> -p app-misc/mvcommon-bin

Global/Standard Flags

doc

Manifest for 1.0.9

Type File Size Source URLs
DIST mvcommon-bin-1.0.9-mvcommon_1.0.9_linux_amd64.tar.gz 821264 bytes https://github.com/arran4/mvcommon/releases/download/v1.0.9/mvcommon_1.0.9_linux_amd64.tar.gz
DIST mvcommon-bin-1.0.9-mvcommon_1.0.9_linux_arm64.tar.gz 763615 bytes https://github.com/arran4/mvcommon/releases/download/v1.0.9/mvcommon_1.0.9_linux_arm64.tar.gz