aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spdx-licenses/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/spdx-licenses/APKBUILD')
-rw-r--r--testing/spdx-licenses/APKBUILD46
1 files changed, 0 insertions, 46 deletions
diff --git a/testing/spdx-licenses/APKBUILD b/testing/spdx-licenses/APKBUILD
deleted file mode 100644
index 9c4940fa2bf..00000000000
--- a/testing/spdx-licenses/APKBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
-# Maintainer:
-pkgname=spdx-licenses
-pkgver=3.4
-pkgrel=0
-pkgdesc="Various data formats for the SPDX License List"
-url="https://spdx.org/"
-arch="noarch"
-options="!check"
-license="unknown"
-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"
-subpackages="$pkgname-list"
-
-_types="html json rdfa rdfnt rdfturtle rdfxml template text"
-
-for type in $_types; do
- subpackages="$subpackages $pkgname-$type:_subpkg"
-done
-
-build() {
- cd "$builddir"
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_subpkg() {
- local type=${subpkgname/$pkgname-/}
- pkgdesc="$pkgdesc ($type)"
- install_if="$pkgname"
- mkdir -p "$subpkgdir"/usr/share/spdx
- cp -r "$builddir"/$type "$subpkgdir"/usr/share/spdx/
-}
-
-list() {
- pkgdesc="$pkgdesc (licence list)"
- mkdir -p "$subpkgdir"/usr/share/spdx
- local i; for i in $builddir/text/*.txt; do
- local license=${i##*/}
- echo ${license%.*} >> "$subpkgdir"/usr/share/spdx/license.lst
- done
-}
-
-sha512sums="ade364090c16c0f121156a2cce588e39c2615892b42189820aad9ceb97a33458d64f1c702fda38ae46f85c3271ca0abfcc5efdf29b46145402daed38ce57d002 license-list-data-3.4.tar.gz"