diff --git a/.editorconfig b/.editorconfig index 4d03d8c669dc..224e2ac75cc4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,8 @@ # https://editorconfig.org +# SPDX-FileCopyrightText: Arch Linux contributors +# SPDX-License-Identifier: 0BSD + root = true [*] diff --git a/.gitignore b/.gitignore index 60c32c4be19c..7d42488f51d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Arch Linux contributors +# SPDX-License-Identifier: 0BSD + /.vscode /src /pkg diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..b87c5e4be442 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 000000000000..85017554fad0 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,22 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD" diff --git a/check-for-update.sh b/check-for-update.sh deleted file mode 100755 index a3343e5ef306..000000000000 --- a/check-for-update.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -set -eu -o pipefail - -cd "$(dirname "${0}")" -source PKGBUILD - -_latest="$( - curl -s -o /dev/null -w '%{json}' "${_url_base}-latest.tar.gz" \ - | jq -r '.redirect_url' \ - | sed -E 's/.*SDK-(.*)\.tar\.gz/\1/' -)" - -if [ "${_latest}" != "${pkgver}" ] -then - echo >&2 "${pkgname}: AUR ${pkgver} != upstream ${_latest}" - exit 1 -fi - -echo >&2 "${pkgname}: AUR ${pkgver} == upstream ${_latest}" diff --git a/playdate-simulator.shim b/playdate-simulator.shim index 574d2a29b144..edf2e5040a9e 100755 --- a/playdate-simulator.shim +++ b/playdate-simulator.shim @@ -1,4 +1,8 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: Arch Linux contributors +# SPDX-License-Identifier: 0BSD + if [[ -z "${PLAYDATE_SDK_PATH:-}" ]]; then export PLAYDATE_SDK_PATH="${XDG_DATA_HOME:-"${HOME}/.local/share"}/playdate-sdk" fi