Skip to content

[pkgbuild] support SPDX LicenseRef-.* #24

Open

Description

@txtsd

Which means SPDX license expressions, and LicenseRef-* for custom licenses, are possible.

Reference:
https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#composite-license-expressions
https://spdx.org/licenses/exceptions-index.html

Activity

  1. Freed-Wu commented on Nov 7, 2024

    @Freed-Wu
    Collaborator

    #19 (comment)

    It should support SPDX. I heard LicenseRef-* firstly. Sounds like all string match LicenseRef-.* are legal?

  2. changed the title [-]Arch uses SPDX license identifiers[/-] [+]Add SPDX `LicenseRef-.*` for PKGBUILD's license[/+] on Nov 7, 2024
  3. added
    enhancement
    on Nov 7, 2024
  4. txtsd commented on Nov 7, 2024

    @txtsd
    Author

    Correct!

  5. txtsd commented on Nov 7, 2024

    @txtsd
    Author

    But also SPDX expressions like MIT OR GPL-3.0-or-later WITH GPL-3.0-linking-source-exception are valid.

    EDIT: along with parentheses

  6. Freed-Wu commented on Nov 7, 2024

    @Freed-Wu
    Collaborator

    SPDX expression looks a little complex. Now this project just use regex to match some legal string.

  7. changed the title [-]Add SPDX `LicenseRef-.*` for PKGBUILD's license[/-] [+][pkgbuild] support SPDX `LicenseRef-.*`[/+] on Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions