mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-*: use SPDX license identifier for CC0 R packages
This commit is contained in:
parent
2c88dd4311
commit
a29a7aa401
9 changed files with 25 additions and 37 deletions
|
@ -8,7 +8,7 @@ pkgrel=2
|
||||||
pkgdesc="Solutions for Common Problems in Base R"
|
pkgdesc="Solutions for Common Problems in Base R"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://cran.r-project.org/package=${_pkgname}"
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
license=(custom:CC0)
|
license=('CC0-1.0')
|
||||||
depends=(
|
depends=(
|
||||||
r
|
r
|
||||||
)
|
)
|
||||||
|
@ -23,12 +23,9 @@ optdepends=(
|
||||||
r-rstudioapi
|
r-rstudioapi
|
||||||
r-testthat
|
r-testthat
|
||||||
)
|
)
|
||||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
"$pkgname-CC0.txt::https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt")
|
md5sums=('92231535ce9cf7327dd33aff8449d463')
|
||||||
md5sums=('92231535ce9cf7327dd33aff8449d463'
|
sha256sums=('183e5f937823ff6b8ef1b22679177c3e25ffbb256784879ece0cefdba78e9978')
|
||||||
'65d3616852dbf7b1a6d4b53b00626032')
|
|
||||||
sha256sums=('183e5f937823ff6b8ef1b22679177c3e25ffbb256784879ece0cefdba78e9978'
|
|
||||||
'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -43,6 +40,4 @@ check() {
|
||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/lib/R/library"
|
install -d "$pkgdir/usr/lib/R/library"
|
||||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||||
|
|
||||||
install -Dm644 "$pkgname-CC0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,3 +10,5 @@ update_on:
|
||||||
repo: cran
|
repo: cran
|
||||||
md5: true
|
md5: true
|
||||||
- alias: r
|
- alias: r
|
||||||
|
- source: manual
|
||||||
|
manual: 1
|
||||||
|
|
|
@ -9,7 +9,7 @@ pkgrel=1
|
||||||
pkgdesc="Creates Log Files"
|
pkgdesc="Creates Log Files"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://cran.r-project.org/package=${_pkgname}"
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
license=(custom:CC0)
|
license=('CC0-1.0')
|
||||||
depends=(
|
depends=(
|
||||||
r-common
|
r-common
|
||||||
r-withr
|
r-withr
|
||||||
|
@ -27,12 +27,9 @@ optdepends=(
|
||||||
r-testthat
|
r-testthat
|
||||||
r-tidylog
|
r-tidylog
|
||||||
)
|
)
|
||||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
"$pkgname-CC0.txt::https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt")
|
md5sums=('6b216952470eee98af6641ad8a816f97')
|
||||||
md5sums=('6b216952470eee98af6641ad8a816f97'
|
sha256sums=('9566dcb34d56ad742d3ac4832b5d8b93f4d374182ea877b1a022ab19ee15ea40')
|
||||||
'65d3616852dbf7b1a6d4b53b00626032')
|
|
||||||
sha256sums=('9566dcb34d56ad742d3ac4832b5d8b93f4d374182ea877b1a022ab19ee15ea40'
|
|
||||||
'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -47,6 +44,4 @@ check() {
|
||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/lib/R/library"
|
install -d "$pkgdir/usr/lib/R/library"
|
||||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||||
|
|
||||||
install -Dm644 "$pkgname-CC0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,3 +15,5 @@ update_on:
|
||||||
repo: cran
|
repo: cran
|
||||||
md5: true
|
md5: true
|
||||||
- alias: r
|
- alias: r
|
||||||
|
- source: manual
|
||||||
|
manual: 1
|
||||||
|
|
|
@ -9,19 +9,16 @@ pkgrel=2
|
||||||
pkgdesc="Flights that Departed NYC in 2013"
|
pkgdesc="Flights that Departed NYC in 2013"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://cran.r-project.org/package=${_pkgname}"
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
license=(custom:CC0)
|
license=('CC0-1.0')
|
||||||
depends=(
|
depends=(
|
||||||
r-tibble
|
r-tibble
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
r-dplyr
|
r-dplyr
|
||||||
)
|
)
|
||||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
"$pkgname-CC0.txt::https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt")
|
md5sums=('3d483829c9d11c675044cbe7cdf79f3a')
|
||||||
md5sums=('3d483829c9d11c675044cbe7cdf79f3a'
|
sha256sums=('0e87c5a4e285f16750e91c75aeba33b1e4682cdabf4a3effe5a1de7398394a1d')
|
||||||
'65d3616852dbf7b1a6d4b53b00626032')
|
|
||||||
sha256sums=('0e87c5a4e285f16750e91c75aeba33b1e4682cdabf4a3effe5a1de7398394a1d'
|
|
||||||
'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -31,6 +28,4 @@ build() {
|
||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/lib/R/library"
|
install -d "$pkgdir/usr/lib/R/library"
|
||||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||||
|
|
||||||
install -Dm644 "$pkgname-CC0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,3 +10,5 @@ update_on:
|
||||||
repo: cran
|
repo: cran
|
||||||
md5: true
|
md5: true
|
||||||
- alias: r
|
- alias: r
|
||||||
|
- source: manual
|
||||||
|
manual: 1
|
||||||
|
|
|
@ -9,7 +9,7 @@ pkgrel=6
|
||||||
pkgdesc="Palmer Archipelago (Antarctica) Penguin Data"
|
pkgdesc="Palmer Archipelago (Antarctica) Penguin Data"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://cran.r-project.org/package=${_pkgname}"
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
license=(custom:CC0)
|
license=('CC0-1.0')
|
||||||
depends=(
|
depends=(
|
||||||
r
|
r
|
||||||
)
|
)
|
||||||
|
@ -22,12 +22,9 @@ optdepends=(
|
||||||
r-tibble
|
r-tibble
|
||||||
r-tidyr
|
r-tidyr
|
||||||
)
|
)
|
||||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
"$pkgname-CC0.txt::https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt")
|
md5sums=('dff628ed0c5f7b8e265127221491934e')
|
||||||
md5sums=('dff628ed0c5f7b8e265127221491934e'
|
sha256sums=('2a40d48ba6c7978fdf2a6daf647ccb39cd17590680138931d11194d3dd1a30b4')
|
||||||
'65d3616852dbf7b1a6d4b53b00626032')
|
|
||||||
sha256sums=('2a40d48ba6c7978fdf2a6daf647ccb39cd17590680138931d11194d3dd1a30b4'
|
|
||||||
'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -37,6 +34,4 @@ build() {
|
||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/lib/R/library"
|
install -d "$pkgdir/usr/lib/R/library"
|
||||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||||
|
|
||||||
install -Dm644 "$pkgname-CC0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,3 +8,5 @@ update_on:
|
||||||
repo: cran
|
repo: cran
|
||||||
md5: true
|
md5: true
|
||||||
- alias: r
|
- alias: r
|
||||||
|
- source: manual
|
||||||
|
manual: 1
|
||||||
|
|
|
@ -194,7 +194,7 @@ license_map = {
|
||||||
"BSD_2_clause + file LICENSE": "BSD",
|
"BSD_2_clause + file LICENSE": "BSD",
|
||||||
"BSD_3_clause + file LICENSE": "BSD",
|
"BSD_3_clause + file LICENSE": "BSD",
|
||||||
"BSL-1.0": "Boost",
|
"BSL-1.0": "Boost",
|
||||||
"CC0": "custom:CC0",
|
"CC0": "CC0-1.0",
|
||||||
"EPL": "EPL",
|
"EPL": "EPL",
|
||||||
"GPL": "GPL",
|
"GPL": "GPL",
|
||||||
"GPL (>= 2)": "GPL",
|
"GPL (>= 2)": "GPL",
|
||||||
|
|
Loading…
Add table
Reference in a new issue