some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
47 lines
1 KiB
Bash
47 lines
1 KiB
Bash
# Template file for 'spdx-licenses-list'
|
|
pkgname=spdx-licenses-list
|
|
version=3.6
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="license-list-data-${version}"
|
|
short_desc="SPDX License List"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://spdx.org"
|
|
distfiles="https://github.com/spdx/license-list-data/archive/v${version}.tar.gz"
|
|
checksum=601e63613a7b0a3a353f1871970d33742fad6b8d040e54c70d6d24b2bc0a9d26
|
|
|
|
do_install() {
|
|
vmkdir usr/share/spdx
|
|
for i in text/*.txt; do
|
|
i=${i##*/}
|
|
echo ${i%.*} >> ${DESTDIR}/usr/share/spdx/license.lst
|
|
done
|
|
}
|
|
|
|
spdx-licenses-text_package() {
|
|
archs=noarch
|
|
short_desc="SPDX licenses in plain text"
|
|
pkg_install() {
|
|
vmkdir usr/share/spdx
|
|
vcopy text usr/share/spdx
|
|
}
|
|
}
|
|
|
|
spdx-licenses-json_package() {
|
|
archs=noarch
|
|
short_desc="SPDX licenses in JSON"
|
|
pkg_install() {
|
|
vmkdir usr/share/spdx
|
|
vcopy json usr/share/spdx
|
|
}
|
|
}
|
|
|
|
spdx-licenses-html_package() {
|
|
archs=noarch
|
|
short_desc="SPDX licenses in HTML"
|
|
pkg_install() {
|
|
vmkdir usr/share/spdx
|
|
vcopy html usr/share/spdx
|
|
}
|
|
}
|