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.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/cs/Gentoo/Custom Ebuild Repo.md b/cs/Gentoo/Custom Ebuild Repo.md
new file mode 100644
index 0000000..2a5e3b7
--- /dev/null
+++ b/cs/Gentoo/Custom Ebuild Repo.md
@@ -0,0 +1,26 @@
+# Create the repo
+su
+mkdir -p /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/{metadata,profiles}
+chown -R portage:portage /var/db/repos/localrepo
+
+cd /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/
+
+vim profiles/[[repo_name](repo_name)
+
+vim metadata/[[layout.conf]]
+
+vim /etc/portage/repos.conf/[[$CUSTOM_EBUILD_REPO_NAME.conf]]
+
+# Add ebuilds to repo
+
+mkdir -p sci-visualization/visidata
+
+chown -R portage:portage sci-visualization
+
+cd
+
+wget ebuild_url -O pkg_name-version.ebuild
+
+chown -R portage:portage .ebuild
+
+doas pkgdev manifest -f