app-admin/oet: Added pkgd version 0.0.0.2

Added a manpage; it's scarce but functional
Learned how to create pkgd ebuilds

Signed-off-by: Thomas Scholz <thomas.scholz@protonmail.com>
This commit is contained in:
Thomas Scholz
2023-02-27 08:58:39 +01:00
parent f862187292
commit 48687931d8
3 changed files with 42 additions and 9 deletions

1
app-admin/oet/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST oet-0.0.0.2.tar.gz 18284 BLAKE2B 94db54554b62a2cf598d7c970de9fe4540635f9a877025dea89c2b4580ae9a2dbe784fb27e8cf57a9a5998acad0229356c30167777a6ac56b8b8b41ccc5bc3e2 SHA512 82e4a0b26d988b7c3286495d8d5747225aaecc7516979fb70723d3351858750eb32c09663f0238efa638732ce5c21be92b503a15f85b6d6ad6771dab4bdf0836

View File

@@ -0,0 +1,34 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git"
EGIT_BRANCH="main"
[[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz"
S="${WORKDIR}/overlay-emerge-tool"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-2"
SLOT="0"
src_install() {
dosbin src/oet.sh
dodir /usr/share/oet
insinto /usr/share/oet
doins src/oet_auto_emerge_update.source
doins src/oet_interactive.source
doman resources/oet.1
}
src_compile() {
true
}

View File

@@ -1,3 +1,6 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
@@ -5,22 +8,16 @@ HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git"
EGIT_BRANCH="0.0.0.1"
[[ "${PV}" == "9999" ]] && EGIT_BRANCH=0.0.0.1
EGIT_BRANCH="main"
[[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz"
S="${WORKDIR}/oet-${PV/_rc/-rc.}"
KEYWORDS="~amd64"
S="${WORKDIR}/overlay-emerge-tool"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
@@ -29,6 +26,7 @@ src_install() {
insinto /usr/share/oet
doins src/oet_auto_emerge_update.source
doins src/oet_interactive.source
doman resources/oet.1
}
src_compile() {