abuild/tests/testrepo/test-licenses/APKBUILD
Olliver Schinagl f5d6e5e34b abuild: Do not store whitespaces in license field
Currently, abuild stores the license variable ad-verbatim in the PKGINFO
file. This causes many downstream systems to fail. For example, `apk
info` won't show anything after the newline, our webview that lists
licenses do not show these either.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-06-14 12:08:01 +00:00

32 lines
458 B
Plaintext

# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
# test package
pkgname="${TESTNAME-test-licenses}"
pkgver="1.0"
pkgrel=0
pkgdesc='Dummy test package that has multi-line licenses'
url='https://gitlab.alpinelinux.org/alpine/aports'
arch='noarch'
license='MIT AND
GPL-3.0-only OR
GPL-3.0-or-later AND
BSD-Clause-4
'
prepare() {
mkdir -p "${builddir}"
}
build() {
touch foo
}
check() {
true
}
package() {
mkdir -p "${pkgdir}"
}