This directory contains package definitions, build scripts, and metadata for Linux, macOS, BSD, and Windows package managers.
| Distribution / Repository | Recipe Location | Primary Tool | Target Output |
|---|---|---|---|
| Arch Linux / AUR | arch/PKGBUILD |
makepkg |
.pkg.tar.zst |
| Debian / Ubuntu | debian/ |
dpkg-buildpackage / cargo-deb |
.deb |
| Fedora / RHEL / Copr | rpm/kkfetch.spec |
rpmbuild / cargo-generate-rpm |
.rpm |
| Android / Termux | termux/build.sh |
termux-packages |
Termux .deb |
| Nix / NixOS | nix/default.nix, nix/flake.nix |
nix build |
Nix store path |
| Void Linux | void/template |
xbps-src |
.xbps |
| Alpine Linux | alpine/APKBUILD |
abuild |
.apk |
| Gentoo Linux | gentoo/kkfetch-0.29.0.ebuild |
ebuild / emerge |
Portage ebuild |
| Homebrew | homebrew/kkfetch.rb |
brew |
Formula / Bottled bottle |
| openSUSE / OBS | opensuse/kkfetch.spec |
osc / rpmbuild |
.rpm |
| KISS Linux | kiss/ |
kiss |
KISS package |
| Windows (Scoop) | scoop/kkfetch.json |
scoop |
Scoop manifest |
- Source files:
packaging/arch/PKGBUILD,packaging/arch/.SRCINFO - Install paths:
- Binary:
/usr/bin/kkfetch - Shell completions:
/usr/share/bash-completion/completions/kkfetch,/usr/share/zsh/site-functions/_kkfetch,/usr/share/fish/vendor_completions.d/kkfetch.fish - Docs & license:
/usr/share/doc/kkfetch/README.md,/usr/share/licenses/kkfetch/LICENSE
- Binary:
cd packaging/arch
makepkg -siTo verify in a clean chroot:
extra-x86_64-build- Clone the AUR repository:
git clone ssh://aur@aur.archlinux.org/kkfetch.git
- Copy
PKGBUILDinto the repository. - Update checksums and regenerate
.SRCINFO:updpkgsums makepkg --printsrcinfo > .SRCINFO - Commit and push:
git add PKGBUILD .SRCINFO git commit -m "Update to version 0.29.0" git push origin master
- Source files:
packaging/debian/(control,rules,changelog,compat,copyright,source/format) - Install paths:
- Binary:
/usr/bin/kkfetch - Shell completions:
/usr/share/bash-completion/completions/kkfetch,/usr/share/zsh/vendor-completions/_kkfetch,/usr/share/fish/vendor_completions.d/kkfetch.fish - Docs & copyright:
/usr/share/doc/kkfetch/README.md,/usr/share/doc/kkfetch/copyright
- Binary:
# From the repository root
dpkg-buildpackage -us -uc -bcargo install cargo-deb
cargo debOutput: target/debian/kkfetch_0.29.0-1_amd64.deb
- Create a signed source package:
dpkg-buildpackage -S -sa -k<GPG-KEY-ID>
- Run lintian to verify compliance:
lintian --pedantic -I kkfetch_0.29.0-1.dsc
- Upload to Debian Mentors:
dput mentors kkfetch_0.29.0-1_source.changes
- File an RFS (Request for Sponsorship) bug against
sponsorship-requestson Debian BTS.
- Source files:
packaging/rpm/kkfetch.spec - Install paths:
- Binary:
%{_bindir}/kkfetch - Shell completions:
%{_datadir}/bash-completion/completions/kkfetch,%{_datadir}/zsh/site-functions/_kkfetch,%{_datadir}/fish/vendor_completions.d/kkfetch.fish - Docs & license:
%{_docdir}/kkfetch/README.md,%{_licensedir}/kkfetch/LICENSE
- Binary:
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
cp packaging/rpm/kkfetch.spec ~/rpmbuild/SPECS/
spectool -g -R ~/rpmbuild/SPECS/kkfetch.spec
rpmbuild -ba ~/rpmbuild/SPECS/kkfetch.speccargo install cargo-generate-rpm
cargo build --release
cargo generate-rpmOutput: target/generate-rpm/kkfetch-0.29.0-1.x86_64.rpm
- Install Copr CLI:
sudo dnf install copr-cli
- Build in your Copr repository:
Or set up a GitHub webhook to build automatically on git release tags.
copr-cli build kk376/kkfetch ~/rpmbuild/SRPMS/kkfetch-0.29.0-1.*.src.rpm
- Source files:
packaging/termux/build.sh - Install paths:
- Binary:
$PREFIX/bin/kkfetch - Completions:
$PREFIX/share/bash-completion/completions/kkfetch,$PREFIX/share/zsh/site-functions/_kkfetch,$PREFIX/share/fish/vendor_completions.d/kkfetch.fish
- Binary:
# Inside termux-packages repository clone:
./scripts/run-docker.sh ./build-package.sh -a aarch64 kkfetch- Fork
termux-user-repository/turon GitHub. - Create
packages/kkfetch/build.shusing the recipe inpackaging/termux/build.sh. - Test the build locally with
./start-builder.sh ./build-package.sh kkfetch. - Open a pull request against
termux-user-repository/tur.
Using Nix Flakes:
nix build packaging/nix#kkfetchUsing legacy Nix expressions:
nix-build packaging/nix/default.nixRun directly without installing:
nix run github:kk376/kkfetch- Fork
NixOS/nixpkgson GitHub. - Place the derivation in
pkgs/by-name/kk/kkfetch/package.nix. - Add to
pkgs/top-level/all-packages.nixif applicable. - Test build:
nix-build -A kkfetch
- Submit a pull request to
NixOS/nixpkgs:master.
- Source files:
packaging/void/template
git clone --depth=1 https://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
mkdir -p srcpkgs/kkfetch
cp /path/to/kkfetch/packaging/void/template srcpkgs/kkfetch/
./xbps-src pkg kkfetch- Fork and clone
void-linux/void-packages. - Place
templateinsrcpkgs/kkfetch/template. - Run linter:
xlint srcpkgs/kkfetch/template
- Build and install into a chroot test:
./xbps-src -N pkg kkfetch
- Submit a pull request to
void-linux/void-packages.
- Source files:
packaging/alpine/APKBUILD
cd packaging/alpine
abuild checksum
abuild -r- Fork
alpinelinux/aportson GitLab (gitlab.alpinelinux.org/alpine/aports). - Place
APKBUILDintotesting/kkfetch/APKBUILD. - Lint and test build:
apkbuild-lint APKBUILD abuild -r
- Submit a merge request to Alpine's GitLab repository.
- Source files:
packaging/gentoo/kkfetch-0.29.0.ebuild
ebuild packaging/gentoo/kkfetch-0.29.0.ebuild digest
ebuild packaging/gentoo/kkfetch-0.29.0.ebuild clean compile install- Test with
pkgcheck:pkgcheck scan kkfetch-0.29.0.ebuild
- Place in a custom overlay under
app-misc/kkfetch/or submit a pull request togentoo/gentooon GitHub.
- Source files:
packaging/homebrew/kkfetch.rb
brew install --build-from-source packaging/homebrew/kkfetch.rb
brew test kkfetch
brew audit --strict packaging/homebrew/kkfetch.rb- Repository named
homebrew-kkfetchon GitHub (github.com/kk376/homebrew-kkfetch). - Add
Formula/kkfetch.rb. - Users can then install directly via:
brew tap kk376/kkfetch brew install kkfetch # Or directly: brew install kk376/kkfetch/kkfetch
- Source files:
packaging/kiss/(build,version,sources,checksums,depends) - Install paths:
- Binary:
/usr/bin/kkfetch - Shell completions:
/usr/share/bash-completion/completions/kkfetch,/usr/share/zsh/site-functions/_kkfetch,/usr/share/fish/vendor_completions.d/kkfetch.fish - Docs & license:
/usr/share/doc/kkfetch/README.md,/usr/share/licenses/kkfetch/LICENSE
- Binary:
export KISS_PATH="/path/to/kkfetch/packaging/kiss:$KISS_PATH"
kiss build kkfetch
kiss install kkfetch- Fork and clone
kiss-community/community. - Create branch
kkfetch. - Place package files in
community/kkfetch/(build,version,sources,checksums,depends). - Commit with message
kkfetch: new package at 0.29.0. - Open a pull request against
kiss-community/community:main.
- Tag the release:
git tag -a v0.29.0 -m "Release v0.29.0"and push tags to GitHub. - Generate source archive checksum:
curl -sL https://github.com/kk376/kkfetch/archive/refs/tags/v0.29.0.tar.gz | sha256sum - Update version strings and
sha256checksums acrossPKGBUILD,.SRCINFO,kkfetch.spec,build.sh,default.nix,template,APKBUILD,ebuild,kkfetch.rb, andtemplate.py. - Trigger GitHub release artifacts and update distribution package feeds.