You are not logged in.
Hi,
I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
E.g. when you request info about some package
$ pacman -Qi somepkg
there is a line
Packager: Unknown Packager
that specifies the packager.
How do I set this "Packager" info so that any user installing my package will see what I want?
Last edited by lisztinf (2014-04-13 13:39:43)
Offline
man makepkg.conf
Offline
This field is specified in makepkg.conf, and is therefore only added to the package when it's built. You can't specify it in the PKGBUILD.
Offline
Thanks for the answer.
I guess that when I run
$ makepkg
in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?
Offline
Like I just said - you can't do what you want with the existing tools. The reason you see the correct info for official packages is that they are already built. AUR packages are not - they are built by the user on their own machine, using their own makepkg.conf.
If you want to provide compiled packages in your own repo, then users can choose to add that repo to their pacman.conf - only then will they see what you want them to see.
Offline
You can set PACKAGER in the PKGBUILD itself (but, please never do this). PACKAGER is the identifier for the user who built the package. In the AUR, each user is their own packager. So, it wouldn't make sense to try to enforce this from the PKGBUILD, since you aren't the builder of the package.
Offline
This makes a lot of sense. The problem was my misunderstanding of the AUR philosophy.
Now I understand that what I would like to do is simply not the case.
Thanks
Offline