mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-admin/doasedit: new package, add 1.0.8, 9999
Signed-off-by: Titouan Llusca <titouan.llusca@gmail.com>
This commit is contained in:
31
app-admin/doasedit/doasedit-9999.ebuild
Normal file
31
app-admin/doasedit/doasedit-9999.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
SRC_URI="https://codeberg.org/TotallyLeGIT/doasedit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://codeberg.org/TotallyLeGIT/doasedit.git"
|
||||
S="${WORKDIR}/${P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Edit files as root using an unprivileged editor"
|
||||
HOMEPAGE="https://codeberg.org/TotallyLeGIT/doasedit"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/doas
|
||||
"
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}"/usr \
|
||||
install
|
||||
}
|
||||
Reference in New Issue
Block a user