aports/main/yeahconsole/APKBUILD
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

36 lines
1.2 KiB
Plaintext

# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=yeahconsole
pkgver=0.3.4
pkgrel=0
pkgdesc="Drop-down X terminal emulator wrapper"
url="http://phrat.de/"
arch="all"
license="GPL-2.0"
depends=""
depends_dev=""
makedepends="$depends_dev libx11-dev"
install=""
source="${url}${pkgname}-${pkgver}.tar.gz
yeahconsole-0.3.4-make.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make PREFIX=${pkgdir}/usr || return 1
}
package() {
cd "$builddir"
mkdir -p $pkgdir'/usr/bin'
make PREFIX=${pkgdir}/usr install || return 1
}
md5sums="83a2367f9b4857fed02464b0e8a6595a yeahconsole-0.3.4.tar.gz
998232e4f99953529d80882777f69386 yeahconsole-0.3.4-make.patch"
sha256sums="fcf3481f78a263a70f1cb5163630fc22e78bb0915013eb05689c6f4aeb0583ef yeahconsole-0.3.4.tar.gz
478d7469b804806468fefea15d7b71775e2508e0f3f25a093a8e95ff9acabb59 yeahconsole-0.3.4-make.patch"
sha512sums="cba74d988b3cb991d95de1796e9e79b881fe011d4fc8d6aa1f863f4c465aadfd31250e57d36ce0118dfc367225c2861cf8e80ac47996c2718d83756a8e638ead yeahconsole-0.3.4.tar.gz
e78ace16e451fabe508ff9e6b691ae215b626a1b16868d44f958801c01278b15921cd8a187d454dd685a75eea8b798cd00e71ae024d83c43918104c43cf1a58f yeahconsole-0.3.4-make.patch"