diff options
author | John Whittington | 2018-02-22 14:23:22 +0000 |
---|---|---|
committer | John Whittington | 2018-02-22 14:23:22 +0000 |
commit | 5e55ff95993208fda4fa30381e74454ee394682c (patch) | |
tree | a0071ca3e0f891091270dd083e706b5629b66cf7 | |
parent | a36a0794e205d4d33ee17ee19801ec1f4c7b5841 (diff) | |
download | aur-5e55ff95993208fda4fa30381e74454ee394682c.tar.gz |
Download from Arduino site rather than GitHub
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = arduino-samd-core pkgdesc = Arduino support for SAMD21 series ARM 32 bit microcontrollers (used on Arduino M0 Pro, MKR1000, Arduino Zero etc.) pkgver = 1.6.16 - pkgrel = 2 + pkgrel = 3 url = https://github.com/arduino/ArduinoCore-samd arch = any license = GPL @@ -11,11 +11,11 @@ pkgbase = arduino-samd-core optdepends = avrdude: M0 uploading support optdepends = bossa: Zero uploading support options = !strip - source = https://github.com/arduino/ArduinoCore-samd/archive/1.6.16.tar.gz + source = https://downloads.arduino.cc/cores/samd-1.6.16.tar.bz2 source = https://downloads.arduino.cc/CMSIS-4.5.0.tar.bz2 source = https://downloads.arduino.cc/CMSIS-Atmel-1.0.0.tar.bz2 source = platform.patch - sha512sums = 598328e828163c2a44d8ac97e627de6fd0451b548dde11b41d97b4d0e3f5e5604d96fba272c7ac601b233c1999e47a2cd04f089acfb0e024a6229672e36cde53 + sha512sums = 2c300e59d5f48ff196910699530b7c73d3ef4ab4902fd573213cffb7153a480f7c0d91a14f62f3a2034baab1d0c54b7695fce29288ad4c007c55110b741245fb sha512sums = 97af9c847c0fec6abfe4769910351f1d85aa19d09b4eea88a3852b3d3f196c7f02b16e0fc9686bcff3d94f8cfae512ab7e550f8fa1abb8db87da7e95c56f5502 sha512sums = e7286a162f63c0de23db684ebe58b79aade01c47f522b52838cb6adc937daa8a4403de9fdca69c9bae855e27d840843814874b7b18a1b0d360553057f28cd0fc sha512sums = ffba11449577f8a7951672725504fd637e5e5a563bfe17ec39cfb6d973c41610a63bb0e8b71d2a6fefe88be169d9dec0dcca281866468738d90cfb712bcc1f68 @@ -2,7 +2,7 @@ pkgname=arduino-samd-core pkgver=1.6.16 -pkgrel=2 +pkgrel=3 pkgdesc="Arduino support for SAMD21 series ARM 32 bit microcontrollers (used on Arduino M0 Pro, MKR1000, Arduino Zero etc.)" arch=('any') url="https://github.com/arduino/ArduinoCore-samd" @@ -14,11 +14,11 @@ optdepends=('arduino: Arduino IDE: IDE' 'avrdude: M0 uploading support' 'bossa: Zero uploading support') options=(!strip) -source=("https://github.com/arduino/ArduinoCore-samd/archive/1.6.16.tar.gz" +source=("https://downloads.arduino.cc/cores/samd-${pkgver}.tar.bz2" "https://downloads.arduino.cc/CMSIS-4.5.0.tar.bz2" "https://downloads.arduino.cc/CMSIS-Atmel-1.0.0.tar.bz2" "platform.patch") -sha512sums=('598328e828163c2a44d8ac97e627de6fd0451b548dde11b41d97b4d0e3f5e5604d96fba272c7ac601b233c1999e47a2cd04f089acfb0e024a6229672e36cde53' +sha512sums=('2c300e59d5f48ff196910699530b7c73d3ef4ab4902fd573213cffb7153a480f7c0d91a14f62f3a2034baab1d0c54b7695fce29288ad4c007c55110b741245fb' '97af9c847c0fec6abfe4769910351f1d85aa19d09b4eea88a3852b3d3f196c7f02b16e0fc9686bcff3d94f8cfae512ab7e550f8fa1abb8db87da7e95c56f5502' 'e7286a162f63c0de23db684ebe58b79aade01c47f522b52838cb6adc937daa8a4403de9fdca69c9bae855e27d840843814874b7b18a1b0d360553057f28cd0fc' 'ffba11449577f8a7951672725504fd637e5e5a563bfe17ec39cfb6d973c41610a63bb0e8b71d2a6fefe88be169d9dec0dcca281866468738d90cfb712bcc1f68') @@ -26,7 +26,7 @@ sha512sums=('598328e828163c2a44d8ac97e627de6fd0451b548dde11b41d97b4d0e3f5e5604d9 prepare() { # Prepare arduino samd core to be used with internal toolchains - cd "${srcdir}/ArduinoCore-samd-1.6.16" + cd "${srcdir}/samd" patch -Np1 -i "${srcdir}/platform.patch" } @@ -35,7 +35,7 @@ package() { install -dm755 "${pkgdir}/usr/share/arduino/packages/arduino/hardware/samd" install -dm755 "${pkgdir}/usr/share/arduino/packages/arduino/tools/CMSIS/4.5.0/" install -dm755 "${pkgdir}/usr/share/arduino/packages/arduino/tools/CMSIS-Atmel/1.0.0/" - cp -a "${srcdir}/ArduinoCore-samd-1.6.16/"* "${pkgdir}/usr/share/arduino/packages/arduino/hardware/samd" + cp -a "${srcdir}/samd/"* "${pkgdir}/usr/share/arduino/packages/arduino/hardware/samd" cp -a "${srcdir}/CMSIS/"* "${pkgdir}/usr/share/arduino/packages/arduino/tools/CMSIS/4.5.0/" cp -a "${srcdir}/CMSIS-Atmel/"* "${pkgdir}/usr/share/arduino/packages/arduino/tools/CMSIS-Atmel/1.0.0/" } |