sys-apps/hex: fix 0.4.0 ebuild (make emergeable and more)

* Add hex source itself to `SRC_URI`
    + Cannot compile without this.
* Use consistent `DESCRIPTION` among older versions
    + There seems no reasons to change.
* Loosen license
    + `Apache-2.0 OR MIT` crates are already covered by accepting `MIT`.
* Install `README.md` document
    + This file contains useful CLI option examples.

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
This commit is contained in:
YOSHIOKA Takuma
2020-12-04 16:28:01 +09:00
parent a3a1d303f3
commit 697e56a2c5
2 changed files with 11 additions and 3 deletions

View File

@@ -33,11 +33,18 @@ CRATES="
inherit cargo
DESCRIPTION="Futuristic take on hexdump, made in Rust."
DESCRIPTION="Futuristic take on hexdump"
HOMEPAGE="https://github.com/sitkevij/hex"
SRC_URI="$(cargo_crate_uris ${CRATES})"
SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
LICENSE="Apache-2.0 MIT"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="mirror"
src_install() {
cargo_src_install
dodoc README.md
}