Skip to content

nt74/pkgbuild-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

pkgbuild-helper

Helpful guide on how to generate PKGBUILD for Arch Linux distributions

Make sure to read:

Category:Package development, Creating packages, Arch package guidelines, AUR submission guidelines

For license:

Arch package guidelines#licenses

Generate the .SRCINFO

makepkg --printsrcinfo > .SRCINFO

Checking package sanity

namcap PKGBUILD
namcap pkgname.pkg.tar.zst

First run git needs to set the global username information:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git config --global init.defaultBranch main # (trunk, development)

To generate new md5sums run the command updpkgsums:

sudo pacman -S pacman-contrib

How to upload to AUR repository

  1. Create an account
  2. Add your ssh public key
  3. git -c init.defaultbranch=master clone ssh://aur@aur.archlinux.org/pkgbase.git
  4. cd package-git
  5. cp PKGBUILD .SRCINFO (from your package)
  6. git add PKGBUILD .SRCINFO
  7. git commit -m "Initial version"
  8. git push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published