LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

makepkg

creates Arch Linux packages from PKGBUILD files

TLDR

Build package
$ makepkg
copy
Build and install dependencies
$ makepkg --syncdeps
copy
Build, install deps, and install package
$ makepkg -si
copy
Build skipping checksums
$ makepkg --skipchecksums
copy
Clean after build
$ makepkg --clean
copy
Verify source checksums
$ makepkg --verifysource
copy
Generate .SRCINFO
$ makepkg --printsrcinfo > .SRCINFO
copy
Download source and deps only
$ makepkg -so
copy

SYNOPSIS

makepkg [options]

DESCRIPTION

makepkg creates Arch Linux packages from PKGBUILD files. It downloads sources, verifies checksums, compiles the software, and creates an installable package for pacman.

PARAMETERS

-s, --syncdeps

Install missing dependencies with pacman
-i, --install
Install package after building
-c, --clean
Clean up work files after build
-f, --force
Overwrite existing package
--skipchecksums
Skip source checksum verification
--verifysource
Verify source file checksums
--printsrcinfo
Print .SRCINFO to stdout
--nobuild
Download sources but don't build
--noextract
Don't extract sources
-r, --rmdeps
Remove installed dependencies after a successful build
-g, --geninteg
Generate integrity checks for source files
-p buildscript
Read package script instead of PKGBUILD
--nocheck
Do not run the check() function in the PKGBUILD
--sign
Sign the resulting package with gpg
--holdver
Do not update VCS sources

INSTALL

sudo apt install makepkg
copy
sudo dnf install pacman
copy
sudo pacman -S pacman
copy
sudo apk add pacman
copy
brew install makepkg
copy
nix profile install nixpkgs#pacman
copy

CAVEATS

Must be run from directory containing PKGBUILD. Never run as root. Dependencies require pacman access.

SEE ALSO

pacman(8), yay(1), paru(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid