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/
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
|
|
# Maintainer:
|
|
pkgname=nedit
|
|
pkgver=5.7
|
|
pkgrel=0
|
|
pkgdesc="The Nirvana Editor, a multi-purpose X11 editor that's easy to use"
|
|
url="https://sourceforge.net/projects/nedit/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
# perl for docs, bison and flex are used but may be optional
|
|
makedepends="$depends_dev motif-dev bison flex perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgname-$pkgver-src.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
build() {
|
|
cd "$builddir"
|
|
make linux
|
|
make docs || make -j1 docs || { env; exit 1; }
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -s -Dm 0755 source/nedit "$pkgdir"/usr/bin/nedit
|
|
install -s -Dm 0755 source/nc "$pkgdir"/usr/bin/nedit-nc
|
|
}
|
|
|
|
doc() {
|
|
cd "$builddir"
|
|
default_doc
|
|
for i in README COPYRIGHT ReleaseNotes \
|
|
doc/nedit.doc doc/nedit.html doc/faq.txt; do
|
|
install -Dm 0644 $i "$subpkgdir"/usr/share/doc/nedit
|
|
done
|
|
|
|
}
|
|
|
|
sha512sums="cf242d2f8eea4c78649dbeb741f545a3dc8ffaf5bb36239794a4b2635420e5445fa1c77472add79c05ec081d71a0b9df4431f48db365a71692e43869fd4e7932 nedit-5.7-src.tar.gz"
|