[aur-general] License installation
Hi there. 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? Thanks
On Sun, Feb 6, 2011 at 11:50 PM, rafael ff1 <rafael.f.f1@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/
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@gmail.com>
On Sun, Feb 6, 2011 at 11:50 PM, rafael ff1 <rafael.f.f1@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/
On Sun, Feb 6, 2011 at 11:20 PM, rafael ff1 <rafael.f.f1@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@gmail.com>
On Sun, Feb 6, 2011 at 11:50 PM, rafael ff1 <rafael.f.f1@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.
Got it! Thanks all! 2011/2/7 Thomas S Hatch <thatch45@gmail.com>
On Sun, Feb 6, 2011 at 11:20 PM, rafael ff1 <rafael.f.f1@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@gmail.com>
On Sun, Feb 6, 2011 at 11:50 PM, rafael ff1 <rafael.f.f1@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.
participants (3)
-
Kaiting Chen
-
rafael ff1
-
Thomas S Hatch