summaryrefslogtreecommitdiff
path: root/cs/Gentoo/Custom Ebuild Repo.md
diff options
context:
space:
mode:
Diffstat (limited to 'cs/Gentoo/Custom Ebuild Repo.md')
-rw-r--r--cs/Gentoo/Custom Ebuild Repo.md24
1 files changed, 23 insertions, 1 deletions
diff --git a/cs/Gentoo/Custom Ebuild Repo.md b/cs/Gentoo/Custom Ebuild Repo.md
index 2a5e3b7..3772180 100644
--- a/cs/Gentoo/Custom Ebuild Repo.md
+++ b/cs/Gentoo/Custom Ebuild Repo.md
@@ -11,6 +11,11 @@ vim metadata/[[layout.conf]]
vim /etc/portage/repos.conf/[[$CUSTOM_EBUILD_REPO_NAME.conf]]
+# add repo quick
+
+sudo eselect repository add palladian git https://git.x.com/palladian.git
+emerge --sync palladian
+
# Add ebuilds to repo
mkdir -p sci-visualization/visidata
@@ -23,4 +28,21 @@ wget ebuild_url -O pkg_name-version.ebuild
chown -R portage:portage .ebuild
-doas pkgdev manifest -f
+sudo pkgdev manifest -f
+
+# Ebuilds
+
+{PN} = pkg name
+{P} = pkg name + version
+
+DEPEND = Hard dependencies
+RDEPEND = Runtime dependencies
+BDEPEND = native build dep
+S = path to tmp build directory
+D = path to tmp install dir
+
+src_install()
+
+man ebuild
+
+manifest clean merge unmerge