Jakub Jirutka 63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00

30 lines
926 B
Plaintext

# Contributor: Adrian Siekierka <kontakt@asie.pl>
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=openttd-opengfx
pkgver=0.5.2
pkgrel=0
pkgdesc="Free graphics set for OpenTTD"
url="http://openttd.org/"
arch="noarch"
license="GPL-2.0"
depends=""
makedepends=""
source="https://binaries.openttd.org/extra/opengfx/$pkgver/opengfx-$pkgver-all.zip"
builddir="$srcdir/opengfx-$pkgver"
prepare() {
cd "$srcdir"
tar xf opengfx-$pkgver.tar
}
package() {
cd "$builddir"
mkdir -p "$pkgdir/usr/share/games/openttd/data"
install -Dm644 *.grf *.obg "$pkgdir/usr/share/games/openttd/data"
}
md5sums="e64352d0578822c6e5388b631b3086f7 opengfx-0.5.2-all.zip"
sha256sums="19be61f1cb04cbb3cb9602f0b8eb6e6f56ecbefbfdd6e0e03f9579e5a5c1cbc8 opengfx-0.5.2-all.zip"
sha512sums="2e2d940e42d859bd23211f2606d78db50695e394c2e106b6337811721e900d073f947d9bed8b2521bf98512583653a6e9db5da6b1fa2aa47fdb2626f15c618b5 opengfx-0.5.2-all.zip"