My PKGBUILD
shell scripts for
the AUR
and MPR packages that I maintain
bitwarden-bin
electronmail-bin
ente-auth-bin
ente-desktop-bin
ferdium-bin
freetube-bin
gossip-bin
organicmaps
(needs fixing)playdate-mirror
proton-mail-bin
standard-notes-bin
glow
(uncertain)- Also
glow-bin
(uncertain)
- Also
fztea
(soon)jitsi-meet-electron-bin
(soon)localsend-bin
(soon)playdate-sdk
(TBD)ricochet-refresh-bin
(soon)vnote
(WIP)- Also
vnote-bin
(WIP)
- Also
- 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
- Change:
pkgver
pkgrel
(if needed)- Checksums
- Most common & cryptographically sound checksums (as of Feb 2024)
- SHA256
- SHA512
- For SHA512 checksums represented by base 64 in YAML files, use the following command to convert from hexadecimal into base 64:
$ sha512sum <binary-name>.deb | cut -f1 -d\ | xxd -r -p | base64 -w0
- For SHA512 checksums represented by base 64 in YAML files, use the following command to convert from hexadecimal into base 64:
- 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)
- Most common & cryptographically sound checksums (as of Feb 2024)
- Update
.SRCINFO
package metadata file with:$ makepkg --printsrcinfo | tee .SRCINFO
- This will print
.SRCINFO
(thePKGBUILD
metadata that is used for the web page) into stdout (which helps to tell if the outputsource
links work correctly.
- This will print
- 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
- I am not sure about the
armv7l
architecture platform- These may be auto-generated architecture platforms for DEB on GH
- But I can't figure out if there are specific names "under
armv7l
- See the following:
- Also, I don't use this platform
- Open a GH here if you really want to see this ARM platform on my MPR packages and we can determine if it's possible
- AUR on the ArchWiki
- AUR Submission Guidelines on the ArchWiki
.SRCINFO
on the ArchWikimakedeb
documentation page on uploading packages to the MPR
The license for the PKGBUILD
scripts I author are under the GNU
General Public License Version 3
(GNU GPLv3).