Tell arch to nfpm

This commit is contained in:
Gábor Csárdi 2023-01-10 19:45:32 +01:00
commit 3e927c5055
10 changed files with 20 additions and 0 deletions

View file

@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
fi
EOF
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
cat <<EOF > /tmp/nfpm.yml
name: R-${R_VERSION}
version: 1
version_schema: none
arch: $(cat /tmp/arch)
release: 1
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
fi
EOF
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
cat <<EOF > /tmp/nfpm.yml
name: R-${R_VERSION}
version: 1
version_schema: none
arch: $(cat /tmp/arch)
release: 1
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -15,6 +15,7 @@ name: r-${R_VERSION}
version: 1
version_schema: none
section: gnu-r
arch: $(dpkg --print-architecture)
priority: optional
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -16,6 +16,7 @@ name: r-${R_VERSION}
version: 1
version_schema: none
section: gnu-r
arch: $(dpkg --print-architecture)
priority: optional
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -23,10 +23,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
fi
EOF
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
cat <<EOF > /tmp/nfpm.yml
name: R-${R_VERSION}
version: 1
version_schema: none
arch: $(cat /tmp/arch)
release: 1
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -39,10 +39,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
fi
EOF
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
cat <<EOF > /tmp/nfpm.yml
name: R-${R_VERSION}
version: 1
version_schema: none
arch: $(cat /tmp/arch)
release: 1
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -40,10 +40,13 @@ if [ -d /opt/R/${R_VERSION} ]; then
fi
EOF
if [ "$(arch)" == "aarch64" ]; then echo arm64; else echo amd64; fi > /tmp/arch
cat <<EOF > /tmp/nfpm.yml
name: R-${R_VERSION}
version: 1
version_schema: none
arch: $(cat /tmp/arch)
release: 1
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -15,6 +15,7 @@ name: r-${R_VERSION}
version: 1
version_schema: none
section: universe/math
arch: $(dpkg --print-architecture)
priority: optional
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |

View file

@ -16,6 +16,7 @@ version: 1
version_schema: none
section: universe/math
priority: optional
arch: $(dpkg --print-architecture)
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |
GNU R statistical computation and graphics system

View file

@ -17,6 +17,7 @@ version: 1
version_schema: none
section: universe/math
priority: optional
arch: $(dpkg --print-architecture)
maintainer: RStudio, PBC <https://github.com/rstudio/r-builds>
description: |
GNU R statistical computation and graphics system