mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 15:33:28 +00:00
f5d6e5e34b
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>
32 lines
458 B
Plaintext
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}"
|
|
}
|