Tell arch to nfpm
This commit is contained in:
parent
be9465a997
commit
3e927c5055
10 changed files with 20 additions and 0 deletions
|
|
@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||||
|
|
||||||
cat <<EOF > /tmp/nfpm.yml
|
cat <<EOF > /tmp/nfpm.yml
|
||||||
name: R-${R_VERSION}
|
name: R-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
|
arch: $(cat /tmp/arch)
|
||||||
release: 1
|
release: 1
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||||
|
|
||||||
cat <<EOF > /tmp/nfpm.yml
|
cat <<EOF > /tmp/nfpm.yml
|
||||||
name: R-${R_VERSION}
|
name: R-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
|
arch: $(cat /tmp/arch)
|
||||||
release: 1
|
release: 1
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ name: r-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
section: gnu-r
|
section: gnu-r
|
||||||
|
arch: $(dpkg --print-architecture)
|
||||||
priority: optional
|
priority: optional
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ name: r-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
section: gnu-r
|
section: gnu-r
|
||||||
|
arch: $(dpkg --print-architecture)
|
||||||
priority: optional
|
priority: optional
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||||
|
|
||||||
cat <<EOF > /tmp/nfpm.yml
|
cat <<EOF > /tmp/nfpm.yml
|
||||||
name: R-${R_VERSION}
|
name: R-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
|
arch: $(cat /tmp/arch)
|
||||||
release: 1
|
release: 1
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||||
|
|
||||||
cat <<EOF > /tmp/nfpm.yml
|
cat <<EOF > /tmp/nfpm.yml
|
||||||
name: R-${R_VERSION}
|
name: R-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
|
arch: $(cat /tmp/arch)
|
||||||
release: 1
|
release: 1
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -40,10 +40,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
|
||||||
|
|
||||||
cat <<EOF > /tmp/nfpm.yml
|
cat <<EOF > /tmp/nfpm.yml
|
||||||
name: R-${R_VERSION}
|
name: R-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
|
arch: $(cat /tmp/arch)
|
||||||
release: 1
|
release: 1
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ name: r-${R_VERSION}
|
||||||
version: 1
|
version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
section: universe/math
|
section: universe/math
|
||||||
|
arch: $(dpkg --print-architecture)
|
||||||
priority: optional
|
priority: optional
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
section: universe/math
|
section: universe/math
|
||||||
priority: optional
|
priority: optional
|
||||||
|
arch: $(dpkg --print-architecture)
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
GNU R statistical computation and graphics system
|
GNU R statistical computation and graphics system
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ version: 1
|
||||||
version_schema: none
|
version_schema: none
|
||||||
section: universe/math
|
section: universe/math
|
||||||
priority: optional
|
priority: optional
|
||||||
|
arch: $(dpkg --print-architecture)
|
||||||
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
|
||||||
description: |
|
description: |
|
||||||
GNU R statistical computation and graphics system
|
GNU R statistical computation and graphics system
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue