Packages for Arch Linux
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
PKGBUILD
updpkgsums PKGBUILD
makepkg -scfi
Commit the PKGBUILD
. aurpublish
will 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:
conflicts
and provides
entries that point to the non-Git package equivalent.pkgver
function, so that the pkgver
variable gets updated automatically.I try to keep the diff between the Git and non-Git PKGBUILDs as small as possible.
That’s why I always define the _name
and _mainfolder
variables:
_name
is the package name without the -git
suffix (if there is any).package()
.pkgname
in package()
, only use it in source
._mainfolder
is the folder that contains the source code._mainfolder
when using cd
.