Pacman packages: Difference between revisions

From wikinotes
(Created page with "Archlinux packages are described in <code>PKGBUILD</code> files. = Documentation = <blockquote> {| class="wikitable" |- | PKGBUILD docs || https://wiki.archlinux.org/title/PK...")
 
No edit summary
Line 1: Line 1:
Archlinux packages are described in <code>PKGBUILD</code> files.
Archlinux packages are described in <code>PKGBUILD</code> files, and built using <code>makepkg</code>.<br>
They are expressed in [[bash]] shellscript.


= Documentation =
= Documentation =
Line 9: Line 10:
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->
= Usage =
<blockquote>
<syntaxhighlight lang="bash">
cd ${DIR_W_PKGBUILD}
makepkg
</syntaxhighlight>
</blockquote><!-- Usage -->
= PKGBUILD Syntax =
<blockquote>
<syntaxhighlight lang="bash">
# required
pkgname=
pkgver=
pkgrel=
arch=
# optional
license=
</syntaxhighlight>
</blockquote><!-- PKGBUILD Syntax -->

Revision as of 22:44, 25 December 2021

Archlinux packages are described in PKGBUILD files, and built using makepkg.
They are expressed in bash shellscript.

Documentation

PKGBUILD docs https://wiki.archlinux.org/title/PKGBUILD

Usage

cd ${DIR_W_PKGBUILD}
makepkg

PKGBUILD Syntax

# required
pkgname=
pkgver=
pkgrel=
arch=

# optional
license=