# 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 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 chown -R portage:portage sci-visualization cd wget ebuild_url -O pkg_name-version.ebuild chown -R portage:portage .ebuild 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