mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-21 16:41:52 +01: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/
38 lines
941 B
Plaintext
38 lines
941 B
Plaintext
# Contributor:
|
|
# Maintainer:
|
|
pkgname=most
|
|
pkgver=5.0.0a
|
|
pkgrel=1
|
|
pkgdesc="A terminal pager similar to more and less"
|
|
url="ftp://space.mit.edu/pub/davis/most"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends=""
|
|
depends_dev=
|
|
makedepends="slang-dev ncurses-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="$url/$pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
default_prepare || return 1
|
|
update_config_guess || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make -j1 || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="30f2131b67f61716f6fe1f65205da48b most-5.0.0a.tar.gz"
|
|
sha256sums="17a16593da064ddd484f53157d54b83bcd98ea45ab1ed361eea64c4fae163a10 most-5.0.0a.tar.gz"
|
|
sha512sums="8487895d736ea19a7a635dc67c974104a0c469a88a74f8b757a0509b9dee4534fd70b966054624be71734ac7de9a9daa1efb56827ff176b9468ce5a0b1ed2349 most-5.0.0a.tar.gz"
|