mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
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/
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=txt2man
|
|
pkgver=1.6.0
|
|
pkgrel=0
|
|
pkgdesc="Convert flat ASCII text to man page format"
|
|
url="https://github.com/mvertes/txt2man"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
depends="gawk"
|
|
makedepends=
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mvertes/$pkgname/archive/$pkgname-$pkgver.tar.gz
|
|
makefile.patch"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
|
|
|
|
package() {
|
|
make -C "$builddir" \
|
|
DESTDIR="$pkgdir" \
|
|
prefix=/usr \
|
|
mandir=/usr/share/man \
|
|
install || return 1
|
|
}
|
|
|
|
md5sums="71f4a1758f19759f8f7d20bd92d53fda txt2man-1.6.0.tar.gz
|
|
ef7f2806d60d1c987644e7f9f507da01 makefile.patch"
|
|
sha256sums="f6939e333a12e1ecceccaa547b58f4bf901a580cd2d8f822f8c292934c920c99 txt2man-1.6.0.tar.gz
|
|
e695ef0ffc8fa535f03cbc3993de618383e93d0c735feea2128c74463b85e083 makefile.patch"
|
|
sha512sums="7ec2cc0bb685d890cf06504d4faacf7a02c5a321963effb71ff63b7310f64f092e666c055c1dbdb699958a62272fe4dc0f31f3947ca6895aa425753a11b75379 txt2man-1.6.0.tar.gz
|
|
e91ad93ddd646b06cb75c26e666e5122934172d25513424f04b9f56ce9cd57f1327f9c53c3d59002d76765c272aced5d75e0b48318d3b82d447560c3a031ef58 makefile.patch"
|