gamescope package specifies BSD-2-Clause license but doesn't package it
Description:
The BSD-2-Clause and BSD-3-Clause licenses used by gamescope are "custom-ish" licenses, which have SPDX identifiers but also include a copyright line that is unique to the project, so a copy of the license has to be included with the package.
This is a pretty easy fix; you just need to add this line to the end of the package() function in gamescope/PKGBUILD:
install -m644 gamescope/LICENSES "${pkgdir}/usr/share/licenses/${pkgname}/"
(I think I have the paths right there, but apologies if I don't -- IIUC package() runs in the parent directory of the gamescope
git checkout, so https://github.com/ValveSoftware/gamescope/blob/master/LICENSE will be in gamescope/LICENSE.)
Additional info:
- package version: 3.14.22-1
Steps to reproduce:
- Install gamescope package.
- Observe that /usr/share/licenses/gamescope/LICENSE does not exist.