Skip to content

taivlam/aur-mpr-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

My AUR and MPR packages

My PKGBUILD shell scripts for the AUR and MPR packages that I maintain

Repology list (base package names; will use widgets later)

AUR

MPR

Planned

Packaging checklist

Creating/Adopting new package

  • Make sure SSH connection is working, as detailed on the "Uploading Packages" page
  • Initialize package (implicitly creates repo, if it does not exist yet) with:
    $ git clone "ssh://[email protected]/<pkg-name-here>.git"
    
  • Declare Maintainer
    • Denote past Maintainers as Contributors (if needed)
  • Change your displayed User Name and E-mail Address for Git repo!
    $ git config user.name "First-name Last-name"
    $ git config user.email "[email protected]"
    
    • Otherwise, you cannot do this later!
  • Confirm e-mail changes the following:
    $ git config --list  # to see everything (both global first, then local at the end of stdout)
    $ git config user.email  # to see the locally set e-mail address
    

Updating package

  • Change:
    • pkgver
    • pkgrel (if needed)
    • Checksums
      • Most common & cryptographically sound checksums (as of Feb 2024)
        • SHA256
        • SHA512
        • BLAKE2 (i.e., the b2sum command in GNU Core Utilities)
      • Download the specified archive from the source (e.g. GitHub, GitLab, direct software source page, & so on)
  • Update .SRCINFO package metadata file with:
    $ makepkg --printsrcinfo > .SRCINFO
    
  • Lastly, add the files, make a commit, and push the changes:
    $ git add .
    $ git commit -m "Add message here"
    $ git commit --amend    # Write a longer message here, if needed
    $ git push
    

Sources from the ArchWiki

License

The license for the PKGBUILD scripts I author are under the GNU General Public License Version 3 (GNU GPLv3).