summaryrefslogtreecommitdiff
path: root/cs/Gentoo/Custom Ebuild Repo.md
blob: 2a5e3b7443c8e51e132932b47e524de4f6fa8cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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