# Packaging

## Source Tarball

1. Get source code from the repository
> git archive --format=tar HEAD > head.tar

2. Compress with lzip
> lzip -9 --force --output=head.tar.lz head.tar

3. Generate checksum
> sha512sum --binary head.tar.lz > head.tar.lz.sha512

## makepkg

A PKGBUILD is provided in linux/makepkg/PKGBUILD.