This repository contains packages for Arch Linux. These packages are also published in the AUR.
I'm using aurpublish to maintain this repository.
git clone git@github.com:schra/pkgbuilds.git
cd pkgbuilds
aurpublish setup
-
Adjust the
PKGBUILD -
Update the hash values:
updpkgsums PKGBUILD -
Build, install and manually test if the package works:
makepkg -scfi -
Commit the
PKGBUILD.aurpublishwill prefill the commit message. In most cases you can just leave the commit message like that.cd PACKAGE/ git add PKGBUILD git commit -
Push the package to both the AUR and this repository
aurpublish PACKAGE git push
-
If possible, I always provide both the Git and non-Git packages.
-
All Git packages need to:
- Have
conflictsandprovidesentries that point to the non-Git package equivalent. - Have a
pkgverfunction, so that thepkgvervariable gets updated automatically.
- Have
-
I try to keep the diff between the Git and non-Git PKGBUILDs as small as possible. That's why I always define the
_nameand_mainfoldervariables:_nameis the package name without the-gitsuffix (if there is any). It is used to install files in the file system inpackage(). Never usepkgnameinpackage(), only use it insource._mainfolderis the folder that contains the source code. For Git packages this is the repository name. For non-Git packages it is the name of the folder inside the tar ball (normally tar balls contain exactly one directory which then contains the actual content). Use_mainfolderwhen usingcd.