mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -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:
1
app-admin/doasedit/Manifest
Normal file
1
app-admin/doasedit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST doasedit-1.0.8.tar.gz 5406 BLAKE2B 28762362869fc95d89b227ed2a7a6e705bb1269818a8aefb45f627146b9cda281d6a597809df6e2aa7da96075e69cc4763f9bd650d3ca82a7d5c9c4e7966df8e SHA512 7194018653eb634a8571ab64afcf377a4fd3c4f641484da020dbd35061b513cf012c66fa9ef452794794d0f18046428205278c3de9aaf0611a801471224621d4
|
||||
31
app-admin/doasedit/doasedit-1.0.8.ebuild
Normal file
31
app-admin/doasedit/doasedit-1.0.8.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
|
||||
}
|
||||
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
|
||||
}
|
||||
11
app-admin/doasedit/metadata.xml
Normal file
11
app-admin/doasedit/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Titouan Llusca</name>
|
||||
<email>titouan.llusca+gentoo@gmail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="codeberg">TotallyLeGIT/doasedit</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user