Commit 550c9652 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

community/spdx-licenses: upgrade to 3.13

parent b0b67a4c
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=spdx-licenses
pkgver=3.12
pkgver=3.13
pkgrel=0
pkgdesc="Various data formats for the SPDX License List"
url="https://spdx.org/"
arch="noarch"
options="!check"
options="!check" # no test suite
license="CC-BY-3.0"
source="license-list-data-$pkgver.tar.gz::https://github.com/spdx/license-list-data/archive/v$pkgver.tar.gz"
builddir="$srcdir/license-list-data-$pkgver"
......@@ -18,10 +18,6 @@ for type in $_types; do
subpackages="$subpackages $pkgname-$type:_subpkg"
done
build() {
cd "$builddir"
}
package() {
mkdir -p "$pkgdir"
}
......@@ -37,10 +33,12 @@ _subpkg() {
list() {
pkgdesc="$pkgdesc (licence list)"
mkdir -p "$subpkgdir"/usr/share/spdx
local i; for i in $builddir/text/*.txt; do
local i; for i in "$builddir"/text/*.txt; do
local license=${i##*/}
echo ${license%.*} >> "$subpkgdir"/usr/share/spdx/license.lst
done
}
sha512sums="6aa096f82c32115e0f6df588fef8d8296f229a371e742b5f0b1ff5e29621d914660f79f347f5a9fbab2761f03cf5ed644532907fa7b37101b43fe978a62c5f65 license-list-data-3.12.tar.gz"
sha512sums="
c8429e4bb9f69c364cb75bff06d219cd886b9b11c5fd4b7b6e11f0f85ebbb0b5a76cb303f0ff12864db8888d4e9a88185df7192b3dfd244d29f9944ed016d647 license-list-data-3.13.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment