Skip to content

Commit 5b2d1bb

Browse files
committed
Deployed 4340a8a with MkDocs version: 1.6.1
1 parent ebcf4db commit 5b2d1bb

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

manpages/pacman/makepkg/index.html

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,11 @@
694694
</span>
695695
</a>
696696

697+
</li>
698+
699+
</ul>
700+
</nav>
701+
697702
</li>
698703

699704
<li class="md-nav__item">
@@ -703,26 +708,36 @@
703708
</span>
704709
</a>
705710

706-
</li>
711+
<nav class="md-nav" aria-label="4. Tarball">
712+
<ul class="md-nav__list">
707713

708-
</ul>
709-
</nav>
714+
<li class="md-nav__item">
715+
<a href="#41-gen-db" class="md-nav__link">
716+
<span class="md-ellipsis">
717+
4.1. Gen DB
718+
</span>
719+
</a>
710720

711721
</li>
712722

713723
<li class="md-nav__item">
714-
<a href="#22-generate-database" class="md-nav__link">
724+
<a href="#411-sign-db" class="md-nav__link">
715725
<span class="md-ellipsis">
716-
2.2. Generate Database
726+
4.1.1 Sign DB
717727
</span>
718728
</a>
719729

730+
</li>
731+
732+
</ul>
733+
</nav>
734+
720735
</li>
721736

722737
<li class="md-nav__item">
723-
<a href="#23-update" class="md-nav__link">
738+
<a href="#24-update" class="md-nav__link">
724739
<span class="md-ellipsis">
725-
2.3. Update
740+
2.4. Update
726741
</span>
727742
</a>
728743

@@ -874,7 +889,7 @@ <h4 id="31-pkgbuild">3.1. PKGBUILD</h4>
874889
<p>You need to do this and also <strong>create the tarball</strong> on the initial package build. If pointed at the repository server, it will give an error because theres nothing there&hellip; Later add:</p>
875890
<div class="highlight"><pre><span></span><code> source=(&quot;$pkgname-$pkgver.tar.gz::https://github.com/[USERNAME]/[REPOSITORY]/raw/main/repo/x86_64/mypkg-$pkgver-1-any.pkg.tar.zst&quot;)
876891
</code></pre></div>
877-
<h4 id="4-tarball">4. Tarball</h4>
892+
<h3 id="4-tarball">4. Tarball</h3>
878893
<p>You&rsquo;ve got your chosen repository prepared, created the PKGBUILD, now create the package tarball:</p>
879894
<div class="highlight"><pre><span></span><code> tar -czvf TxtEd-1.0.0.tar.gz TxtEd
880895
</code></pre></div>
@@ -884,7 +899,7 @@ <h4 id="4-tarball">4. Tarball</h4>
884899
<p>Move the built package tarballs to the appropriate directories, e.g. <em>/repo/x86_64/ /repo/any</em>. The package tarball will have <strong>.pkg.tar.zst</strong> in the name.</p>
885900
<div class="highlight"><pre><span></span><code> mv ../TxtEd/TxtEd-1.0.0-1-any.pkg.tar.zst repo/x86_64/
886901
</code></pre></div>
887-
<h3 id="22-generate-database">2.2. Generate Database</h3>
902+
<h4 id="41-gen-db">4.1. Gen DB</h4>
888903
<p>Generate the package database files and add the <strong>package</strong>: <em>.pkg.tar.zst to the </em><em>repository database</em><em>: </em>.db.tar.gz:</p>
889904
<div class="highlight"><pre><span></span><code> repo-add repo/x86_64/ArchPkg.db.tar.gz repo/x86_64/TxtEd-1.0.0-1-any.pkg.tar.zst
890905
</code></pre></div>
@@ -910,7 +925,11 @@ <h3 id="22-generate-database">2.2. Generate Database</h3>
910925
│ ├── ArchPkg.files
911926
│ ├── TxtEd-1.0.0-1-any.pkg.tar.zst
912927
</code></pre></div>
913-
<h3 id="23-update">2.3. Update</h3>
928+
<h4 id="411-sign-db">4.1.1 Sign DB</h4>
929+
<p>Sign the update db files:</p>
930+
<div class="highlight"><pre><span></span><code> gpg --detach-sign --use-agent --armor --output ArchPkg.db.tar.gz.sig ArchPkg.db.tar.gz
931+
</code></pre></div>
932+
<h3 id="24-update">2.4. Update</h3>
914933
<p>Make sure to update the pacman database:</p>
915934
<div class="highlight"><pre><span></span><code> sudo pacman -Sy
916935
</code></pre></div>

0 commit comments

Comments
 (0)