[aur-general] License installation

Thomas S Hatch thatch45 at gmail.com
Mon Feb 7 01:27:38 EST 2011


On Sun, Feb 6, 2011 at 11:20 PM, rafael ff1 <rafael.f.f1 at gmail.com> wrote:

> Thanks for the reply, Kaiting. I actually understand what license is for
> each packages. My question is if, in the PKGBUILD, I should set a
> folder/symlink for each package in /usr/share/licenses/$pkgname
>
> For example: package is LGPL. I have "license" package installed. Should I
> symilink from common/LGPL folder to ${pkgname} ? Or do nothing - and leave
> as it is?
>
>
>
>
> 2011/2/7 Kaiting Chen <kaitocracy at gmail.com>
>
> > On Sun, Feb 6, 2011 at 11:50 PM, rafael ff1 <rafael.f.f1 at gmail.com>
> wrote:
> >
> > > I read Licenses <https://wiki.archlinux.org/index.php/Licenses> and
> > > PKGBUILD<https://wiki.archlinux.org/index.php/PKGBUILD>pages at
> > > Archwiki and I've been wondering: case a software's license is one
> > > the common ones (ex: GPL), if the PKGBUILD should do some kind of
> > reference
> > > (symlink) from /usr/share/licenses/common/GPL/ to
> > > /usr/share/licenses/${pkgname}/ or.. do nothing, maybe?
> > >
> >
> > `pacman -Qi $pkgname | grep Licenses` --Kaiting.
> >
> > --
> > Kiwis and Limes: http://kaitocracy.blogspot.com/
> >
>

For common licences that already exist, you don't need to make a symlink in
the package, the licence files already exist on the machine, and the correct
licence in the PKGBUILD is enough.

You only really need to include the licence if it is not one
of these installed in the licences directory.


More information about the aur-general mailing list