-
Notifications
You must be signed in to change notification settings - Fork 3
Maintainer Guidelines
When you think a package on AUR is worth putting on the repo be sure to check the following points:
- the package license allows us to distribute the package.
- check the package and PKGBUILD with namcap
- if the package is orphan on AUR, adopt it and turn on notification.
- If it’s not an orphan, try to coordinate with the AUR maintainer for future updates.
- add a comment to the AUR page, that the package is on the Arch-Games repo.
When you update an package for arch-games as developer, make sure you follow the following steps:
- if the package won’t build, check the upstream bug tracker and inform the AUR maintainer or try to fix it and submit a patch to AUR.
- check the PKGBUILD with namcap for errors, if there are new dependencies from AUR make sure you add them.
- check if you can split the package into game and data ( any package ) so we can decrease server storage space.
When the package works scp it to the server.
scp $package [email protected]:
Move the package to the repo directory, where $arch is x86_64 or i686
ssh [email protected]
mv $package /srv/repo/$arch
cd /srv/repo/$arch
Then add it to the repo
repo-add arch-games.db.tar.gz $package
Then remove the old version
rm $pkgname-$oldversion-$arch.pkg.tar.gz
The seperate any/ dir is for package that have `arch=(any)` in the PKGBUILD. Move the any package to the
move the package to the `any` directory.
mv $package /srv/repo/any/
then symlink the package to both architectures.
cd /srv/repo
cd i686; ln -s ../any/$package $package
cd ../x86_64; ln -s ../any/$package $package
The add the package to the database on both architectures.
repo-add arch-games.db.tar.gz $package
cd to the repo location.
cd /srv/repo/$ARCH
run repo-remove from the database
repo-remove arch-games.db.tar.gz $pkgname
then remove the .pkg.tar.gz
rm $pkgname-$version.pkg.tar.gz
How to use git is described in the GIT wiki.
The Arch Linux Gaming Project has some tools of there own, to check the status of the repository.
- archdiff – a tool to check the difference between the two architectures ( x86_64 and i686 ).
- aurcmp – check the difference between our repo and AUR .
- finddep – finds the deps of an package.
- gitcmp – compares package versions between a pacman repo and a git repo.
- namcaplist – a scripts that needs to be run in packages/ and returns an txt file with all the package issue’s.
- rebuildlist – a script to check for rebuilds against an new lib (libjpeg for example).
- addpkg – a script to add packages to the repo automatically. (incomplete)
- pkgfile – A tool to find out what package owns a file ( pacman -S pkgtools )
- namcap – checks an PKGBUILD for errors.