[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, July 11, 2020 @ 08:38:05 Author: nicohood Revision: 663238 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 663237, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 118 ++--- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-11 08:37:55 UTC (rev 663237) +++ PKGBUILD2020-07-11 08:38:05 UTC (rev 663238) @@ -1,59 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.3 -pkgrel=2 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('3bb404a5225ee2651a9fa7902496de34d4bb0edb5ac97ac0b6a219b41f6123db6ca508a590f02e439f125edb16b9d17deca45cf0563114a2a4e4b5e1c5b7d3ed' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() -{ - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -#check() -#{ - # Test will download ~1GB of testfiles - #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m github.com/arduino/arduino-cli/... -#} - -package() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* - - # Fix platform.txt for arch arduino-ctags - echo 'tools.ctags.path=/usr/bin' > "${pkgdir}/usr/share/arduino/hardware/platform.txt" - echo 'tools.ctags.cmd.path={path}/arduino-ctags' >> "${pkgdir}/usr/share/arduino/hardware/platform.txt" - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 663237, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-11 08:38:05 UTC (rev 663238) @@ -0,0 +1,59 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.4 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('21f7ba1594f35faafcc7004c2e8caed645b3500bc677518fff1b814d9fad77e806142a2ea96fbd7b63cf3311f9899da6470f36f4549ba49cdcb7fa46ae226124' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() +{ + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + + cd "${srcdir}/${pkgname}-${pkgver}" + go build + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +#check() +#{ + # Test will download ~1GB of testfiles + #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + #cd "${srcdir}/${pkgname}-${pkgver}" + #go test -timeout 60m
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, June 2, 2020 @ 21:59:26 Author: nicohood Revision: 638122 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 638121, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 112 - 1 file changed, 59 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-06-02 21:59:12 UTC (rev 638121) +++ PKGBUILD2020-06-02 21:59:26 UTC (rev 638122) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.3 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('3bb404a5225ee2651a9fa7902496de34d4bb0edb5ac97ac0b6a219b41f6123db6ca508a590f02e439f125edb16b9d17deca45cf0563114a2a4e4b5e1c5b7d3ed' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -#check() -#{ - # Test will download ~1GB of testfiles - #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m github.com/arduino/arduino-cli/... -#} - -package() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* - - # Fix platform.txt for arch arduino-ctags - echo 'tools.ctags.path=/usr/bin' > "${pkgdir}/usr/share/arduino/hardware/platform.txt" - echo 'tools.ctags.cmd.path={path}/arduino-ctags' >> "${pkgdir}/usr/share/arduino/hardware/platform.txt" - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 638121, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-06-02 21:59:26 UTC (rev 638122) @@ -0,0 +1,59 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.3 +pkgrel=2 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('3bb404a5225ee2651a9fa7902496de34d4bb0edb5ac97ac0b6a219b41f6123db6ca508a590f02e439f125edb16b9d17deca45cf0563114a2a4e4b5e1c5b7d3ed' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() +{ + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + + cd "${srcdir}/${pkgname}-${pkgver}" + go build + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +#check() +#{ + # Test will download ~1GB of testfiles + #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + #cd "${srcdir}/${pkgname}-${pkgver}" + #go test -timeout 60m github.com/arduino/arduino-cli/... +#} + +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + + # Install platform.txt
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, May 27, 2020 @ 07:49:18 Author: nicohood Revision: 635655 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 635654, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-05-27 07:49:06 UTC (rev 635654) +++ PKGBUILD2020-05-27 07:49:18 UTC (rev 635655) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.2 -pkgrel=2 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('5cced4b0b6b284266e28b659fb96d6c8a3ad23ff834f48876d8ab59d12a31d406ef5283acc350cab2196086cbc951f78ad7c2c7355bd77ba05d921ff50d15616' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -#check() -#{ - # Test will download ~1GB of testfiles - #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m github.com/arduino/arduino-cli/... -#} - -package() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* - - # Fix platform.txt for arch arduino-ctags - echo 'tools.ctags.path=/usr/bin' > "${pkgdir}/usr/share/arduino/hardware/platform.txt" - echo 'tools.ctags.cmd.path={path}/arduino-ctags' >> "${pkgdir}/usr/share/arduino/hardware/platform.txt" - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 635654, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-05-27 07:49:18 UTC (rev 635655) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.3 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('3bb404a5225ee2651a9fa7902496de34d4bb0edb5ac97ac0b6a219b41f6123db6ca508a590f02e439f125edb16b9d17deca45cf0563114a2a4e4b5e1c5b7d3ed' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + go build + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +#check() +#{ + # Test will download ~1GB of testfiles + #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + #cd "${srcdir}/${pkgname}-${pkgver}" + #go test -timeout 60m github.com/arduino/arduino-cli/... +#} + +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + + # Install platform.txt files + install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* + + # Fix platform.txt for arch arduino-ctags + echo 'tools.ctags.path=/usr/bin' >
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, March 9, 2020 @ 11:01:41 Author: felixonmars Revision: 592955 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 592954, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-09 11:01:33 UTC (rev 592954) +++ PKGBUILD2020-03-09 11:01:41 UTC (rev 592955) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.2 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('5cced4b0b6b284266e28b659fb96d6c8a3ad23ff834f48876d8ab59d12a31d406ef5283acc350cab2196086cbc951f78ad7c2c7355bd77ba05d921ff50d15616' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -#check() -#{ - # Test will download ~1GB of testfiles - #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m github.com/arduino/arduino-cli/... -#} - -package() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* - - # Fix platform.txt for arch arduino-ctags - echo 'tools.ctags.path=/usr/bin' > "${pkgdir}/usr/share/arduino/hardware/platform.txt" - echo 'tools.ctags.cmd.path={path}/arduino-ctags' >> "${pkgdir}/usr/share/arduino/hardware/platform.txt" - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 592954, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-09 11:01:41 UTC (rev 592955) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.2 +pkgrel=2 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('5cced4b0b6b284266e28b659fb96d6c8a3ad23ff834f48876d8ab59d12a31d406ef5283acc350cab2196086cbc951f78ad7c2c7355bd77ba05d921ff50d15616' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + go build + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +#check() +#{ + # Test will download ~1GB of testfiles + #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + #cd "${srcdir}/${pkgname}-${pkgver}" + #go test -timeout 60m github.com/arduino/arduino-cli/... +#} + +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + + # Install platform.txt files + install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* + + # Fix platform.txt for arch arduino-ctags + echo 'tools.ctags.path=/usr/bin' >
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, February 16, 2020 @ 18:44:31 Author: nicohood Revision: 572762 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 572761, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-16 18:44:22 UTC (rev 572761) +++ PKGBUILD2020-02-16 18:44:31 UTC (rev 572762) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.1 -pkgrel=3 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('9ca673f2b9f35a27b5a917f17e6eb756dc78113336d9bc9b21f565d9817da85d1767e6de1b547ab4f4c0c23ed7a38fb04ad6cb409aab36ea085d9ace27ccd29c' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -#check() -#{ - # Test will download ~1GB of testfiles - #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m github.com/arduino/arduino-cli/... -#} - -package() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* - - # Fix platform.txt for arch arduino-ctags - echo 'tools.ctags.path=/usr/bin' > "${pkgdir}/usr/share/arduino/hardware/platform.txt" - echo 'tools.ctags.cmd.path={path}/arduino-ctags' >> "${pkgdir}/usr/share/arduino/hardware/platform.txt" - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 572761, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-16 18:44:31 UTC (rev 572762) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.2 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('5cced4b0b6b284266e28b659fb96d6c8a3ad23ff834f48876d8ab59d12a31d406ef5283acc350cab2196086cbc951f78ad7c2c7355bd77ba05d921ff50d15616' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + go build + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +#check() +#{ + # Test will download ~1GB of testfiles + #echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + #cd "${srcdir}/${pkgname}-${pkgver}" + #go test -timeout 60m github.com/arduino/arduino-cli/... +#} + +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + + # Install platform.txt files + install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/${pkgname}-${pkgver}/hardware/* + + # Fix platform.txt for arch arduino-ctags + echo 'tools.ctags.path=/usr/bin' >
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, February 13, 2020 @ 18:53:46 Author: nicohood Revision: 570794 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 570793, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 127 + 1 file changed, 53 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-13 18:53:39 UTC (rev 570793) +++ PKGBUILD2020-02-13 18:53:46 UTC (rev 570794) @@ -1,74 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.5.1 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('0b35a768cf20e13a6dea73f81451462f578cbdf5fe0071b28eb7916e3cd225bdfd850d18289be590534f95cdebeb3d1da9e2f116ffe81a9a193374b7997a7da1' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() { - # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 - #mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" - #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" - #cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" - # export GOPATH="${srcdir}/build" - #cd "${srcdir}/build" - - # go get github.com/go-errors/errors - # go get github.com/stretchr/testify - # go get github.com/jstemmer/go-junit-report - # go get -u github.com/arduino/go-paths-helper - # go get -u github.com/arduino/go-properties-orderedmap - # go get -u github.com/arduino/go-timeutils - # go get google.golang.org/grpc - # go get github.com/golang/protobuf/proto - # go get golang.org/x/net/context - # go get github.com/fsnotify/fsnotify - # go get github.com/schollz/closestmatch - # go get github.com/arduino/arduino-cli - # go build github.com/arduino/arduino-builder - - cd "${srcdir}/${pkgname}-${pkgver}" - go build - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - #export GOPATH="${srcdir}/build" - cd "${srcdir}/${pkgname}-${pkgver}" - #go test -timeout 60m ... -} - -package() { - # Fix platform.txt for arch arduino-ctags - # cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" - # sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - # sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - #cd "${srcdir}/build" - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - # install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 570793, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-13 18:53:46 UTC (rev 570794) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.1 +pkgrel=3 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; +
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, February 1, 2020 @ 15:28:50 Author: nicohood Revision: 561039 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 561038, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 142 +++-- 1 file changed, 74 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-01 15:28:25 UTC (rev 561038) +++ PKGBUILD2020-02-01 15:28:50 UTC (rev 561039) @@ -1,68 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.4.4 -pkgrel=2 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('306bb7330036c188b02e3fa85da8b595f91426eea177a5bc59098c8ee497549af41ce92fc15ae6ac8aa5eb6293b9ab52104ea7263ef801eb75150d7efddc7038' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() { - # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 - mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" - #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" - cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" - export GOPATH="${srcdir}/build" - cd "${srcdir}/build" - - go get github.com/go-errors/errors - go get github.com/stretchr/testify - go get github.com/jstemmer/go-junit-report - go get -u github.com/arduino/go-properties-map - go get -u github.com/arduino/go-timeutils - go get google.golang.org/grpc - go get github.com/golang/protobuf/proto - go get golang.org/x/net/context - go get github.com/fsnotify/fsnotify - go get github.com/schollz/closestmatch - #go get github.com/arduino/arduino-builder - go build github.com/arduino/arduino-builder/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/build" - go test -timeout 60m github.com/arduino/arduino-builder/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/build" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 561038, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-01 15:28:50 UTC (rev 561039) @@ -0,0 +1,74 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.5.1 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('0b35a768cf20e13a6dea73f81451462f578cbdf5fe0071b28eb7916e3cd225bdfd850d18289be590534f95cdebeb3d1da9e2f116ffe81a9a193374b7997a7da1' +'SKIP')
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, August 17, 2019 @ 01:53:32 Author: felixonmars Revision: 499911 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 499910, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 136 ++--- 1 file changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-17 01:53:23 UTC (rev 499910) +++ PKGBUILD2019-08-17 01:53:32 UTC (rev 499911) @@ -1,68 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.4.4 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('306bb7330036c188b02e3fa85da8b595f91426eea177a5bc59098c8ee497549af41ce92fc15ae6ac8aa5eb6293b9ab52104ea7263ef801eb75150d7efddc7038' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() { - # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 - mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" - #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" - cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" - export GOPATH="${srcdir}/build" - cd "${srcdir}/build" - - go get github.com/go-errors/errors - go get github.com/stretchr/testify - go get github.com/jstemmer/go-junit-report - go get -u github.com/arduino/go-properties-map - go get -u github.com/arduino/go-timeutils - go get google.golang.org/grpc - go get github.com/golang/protobuf/proto - go get golang.org/x/net/context - go get github.com/fsnotify/fsnotify - go get github.com/schollz/closestmatch - #go get github.com/arduino/arduino-builder - go build github.com/arduino/arduino-builder/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/build" - go test -timeout 60m github.com/arduino/arduino-builder/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/build" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 499910, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-17 01:53:32 UTC (rev 499911) @@ -0,0 +1,68 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.4.4 +pkgrel=2 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('306bb7330036c188b02e3fa85da8b595f91426eea177a5bc59098c8ee497549af41ce92fc15ae6ac8aa5eb6293b9ab52104ea7263ef801eb75150d7efddc7038' +'SKIP')
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, March 30, 2019 @ 16:26:38 Author: nicohood Revision: 446332 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 446331, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 135 ++--- 1 file changed, 68 insertions(+), 67 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-03-30 16:26:29 UTC (rev 446331) +++ PKGBUILD2019-03-30 16:26:38 UTC (rev 446332) @@ -1,67 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.4.3 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('7625cf063e54d7157585807e3d63d4540e0c4a92b2b6a7a8cbd44c4f60e81a96c1e36750baa0a3dce2a506db91a8367c6da594baf0bb491cb43f42c41fa4af33' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() { - # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 - mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" - #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" - cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" - export GOPATH="${srcdir}/build" - cd "${srcdir}/build" - - go get github.com/go-errors/errors - go get github.com/stretchr/testify - go get github.com/jstemmer/go-junit-report - go get -u github.com/arduino/go-properties-map - go get -u github.com/arduino/go-timeutils - go get google.golang.org/grpc - go get github.com/golang/protobuf/proto - go get golang.org/x/net/context - go get github.com/fsnotify/fsnotify - #go get github.com/arduino/arduino-builder - go build github.com/arduino/arduino-builder/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/build" - go test -timeout 60m github.com/arduino/arduino-builder/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/build" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 446331, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-03-30 16:26:38 UTC (rev 446332) @@ -0,0 +1,68 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.4.4 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('306bb7330036c188b02e3fa85da8b595f91426eea177a5bc59098c8ee497549af41ce92fc15ae6ac8aa5eb6293b9ab52104ea7263ef801eb75150d7efddc7038' +'SKIP')
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, January 15, 2019 @ 20:18:31 Author: nicohood Revision: 423367 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 423366, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 134 ++--- 1 file changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-15 20:18:12 UTC (rev 423366) +++ PKGBUILD2019-01-15 20:18:31 UTC (rev 423367) @@ -1,67 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.4.1 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; - "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) -sha512sums=('add5007dd91170a9a65fb3ec88edc9642f3e6037b1598583d726dd2cb41db6ccda64a96f370fe0bce38fe3685f1d274cddb34787cb86a476f29cc28a1e24ce90' -'SKIP') -validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages - -build() { - # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 - mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" - #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" - cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" - export GOPATH="${srcdir}/build" - cd "${srcdir}/build" - - go get github.com/go-errors/errors - go get github.com/stretchr/testify - go get github.com/jstemmer/go-junit-report - go get -u github.com/arduino/go-properties-map - go get -u github.com/arduino/go-timeutils - go get google.golang.org/grpc - go get github.com/golang/protobuf/proto - go get golang.org/x/net/context - go get github.com/fsnotify/fsnotify - #go get github.com/arduino/arduino-builder - go build github.com/arduino/arduino-builder/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/build" - go test -timeout 60m github.com/arduino/arduino-builder/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/build/src/github.com/arduino/arduino-builder/hardware" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/build" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/README.md" -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 423366, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-15 20:18:31 UTC (rev 423367) @@ -0,0 +1,67 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.4.3 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('7625cf063e54d7157585807e3d63d4540e0c4a92b2b6a7a8cbd44c4f60e81a96c1e36750baa0a3dce2a506db91a8367c6da594baf0bb491cb43f42c41fa4af33' +'SKIP')
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, October 3, 2018 @ 13:00:45 Author: nicohood Revision: 389211 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 389210, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 120 ++--- 1 file changed, 67 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-03 13:00:35 UTC (rev 389210) +++ PKGBUILD2018-10-03 13:00:45 UTC (rev 389211) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.3.25 -pkgrel=3 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go-pie' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -options=(!strip) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/${pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('3740530800f8a3cfe1fe20a91579e6b632b76c2c4ace68c7b178a2d234032d5887abee3d0360c3039f2fec912a0d5cabe948bf930a7d9ea23221625456ad5357') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go get -fix github.com/go-errors/errors - go get -fix github.com/stretchr/testify - go get -fix github.com/jstemmer/go-junit-report - go build arduino.cc/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go test -timeout 60m arduino.cc/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/${pkgname}-${pkgver}/src/arduino.cc/builder/hardware/" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}/${pkgname}-${pkgver}"/src/arduino.cc/builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 389210, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-03 13:00:45 UTC (rev 389211) @@ -0,0 +1,67 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.4.1 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +source=("${pkgname}-${pkgver}.tar.xz::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz; + "${pkgname}-${pkgver}.tar.xz.asc::https://github.com/arduino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz.asc;) +sha512sums=('add5007dd91170a9a65fb3ec88edc9642f3e6037b1598583d726dd2cb41db6ccda64a96f370fe0bce38fe3685f1d274cddb34787cb86a476f29cc28a1e24ce90' +'SKIP') +validpgpkeys=('326567C1C6B288DF32CB061A95FA6F43E21188C4') # Arduino Packages + +build() { + # TODO Symlink will fail in test https://github.com/golang/go/issues/15507 + mkdir -p "${srcdir}/build/src/github.com/arduino/arduino-builder" + #ln -sf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build/src/github.com/arduino/arduino-builder" + cp -a "${srcdir}/${pkgname}-${pkgver}/." "${srcdir}/build/src/github.com/arduino/arduino-builder" + export GOPATH="${srcdir}/build" + cd "${srcdir}/build" + + go get github.com/go-errors/errors + go get github.com/stretchr/testify + go get github.com/jstemmer/go-junit-report + go get -u github.com/arduino/go-properties-map + go get -u github.com/arduino/go-timeutils + go get google.golang.org/grpc + go get github.com/golang/protobuf/proto + go get golang.org/x/net/context + go get github.com/fsnotify/fsnotify + #go get github.com/arduino/arduino-builder + go build
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, November 19, 2017 @ 19:39:01 Author: bpiotrowski Revision: 267485 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 267484, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-11-19 19:38:54 UTC (rev 267484) +++ PKGBUILD2017-11-19 19:39:01 UTC (rev 267485) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.3.25 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('i686' 'x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -options=(!strip) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/${pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('a64caa7e8ce96d6e5cd32e5b35bcc51c8dba908a14ddea4c95a9e1f8853009c454805777d483fe94db3595e267746c22b475beab8fc511b0ce2470d216eeb55a') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go get -fix github.com/go-errors/errors - go get -fix github.com/stretchr/testify - go get -fix github.com/jstemmer/go-junit-report - go build arduino.cc/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go test -timeout 60m arduino.cc/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/${pkgname}-${pkgver}/src/arduino.cc/builder/hardware/" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}/${pkgname}-${pkgver}"/src/arduino.cc/builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 267484, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-11-19 19:39:01 UTC (rev 267485) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.3.25 +pkgrel=3 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go-pie' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +options=(!strip) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/${pkgname}/archive/${pkgver}.tar.gz;) +sha512sums=('3740530800f8a3cfe1fe20a91579e6b632b76c2c4ace68c7b178a2d234032d5887abee3d0360c3039f2fec912a0d5cabe948bf930a7d9ea23221625456ad5357') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export GOPATH="${srcdir}/${pkgname}-${pkgver}" + go get -fix github.com/go-errors/errors + go get -fix github.com/stretchr/testify + go get -fix github.com/jstemmer/go-junit-report + go build arduino.cc/arduino-builder + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +check() { + # Test will download ~1GB of testfiles + echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + export GOPATH="${srcdir}/${pkgname}-${pkgver}" + go test -timeout 60m arduino.cc/... +} + +package() { + # Fix platform.txt for arch arduino-ctags + cd "${srcdir}/${pkgname}-${pkgver}/src/arduino.cc/builder/hardware/" + sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt + sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt + + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + +
[arch-commits] Commit in arduino-builder/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, March 20, 2017 @ 16:28:11 Author: nicohood Revision: 217687 archrelease: copy trunk to community-x86_64 Added: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 217686, arduino-builder/trunk/PKGBUILD) Deleted: arduino-builder/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-03-20 16:28:01 UTC (rev 217686) +++ PKGBUILD2017-03-20 16:28:11 UTC (rev 217687) @@ -1,53 +0,0 @@ -# Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -pkgname=arduino-builder -pkgver=1.3.24 -pkgrel=1 -pkgdesc="A command line tool for compiling Arduino sketches" -arch=('i686' 'x86_64') -url="https://github.com/arduino/arduino-builder; -license=('GPL') -depends=('arduino-ctags') -makedepends=('go' 'git' 'unzip') -optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') -options=(!strip) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/${pkgname}/archive/${pkgver}.tar.gz;) -sha512sums=('50c67c3fd71d1fe9e9c1a511f6c3d6517cc2804a3e34b55d0d5247b027304ecf7d8983ecf8eb2bbcd58427ca5168ca29162bc5d06d2af7815488b703aa2b7c7a') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go get -fix github.com/go-errors/errors - go get -fix github.com/stretchr/testify - go get -fix github.com/jstemmer/go-junit-report - go build arduino.cc/arduino-builder - - # TODO Fix ctags test environment at build time - # https://github.com/arduino/arduino-builder/issues/202 -} - -check() { - # Test will download ~1GB of testfiles - echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" - export GOPATH="${srcdir}/${pkgname}-${pkgver}" - go test -timeout 60m arduino.cc/... -} - -package() { - # Fix platform.txt for arch arduino-ctags - cd "${srcdir}/${pkgname}-${pkgver}/src/arduino.cc/builder/hardware/" - sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt - sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt - - cd "${srcdir}/${pkgname}-${pkgver}" - - # Install main tool - install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" - - # Install platform.txt files - install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}/${pkgname}-${pkgver}"/src/arduino.cc/builder/hardware/* - - # Add documentation - install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md -} Copied: arduino-builder/repos/community-x86_64/PKGBUILD (from rev 217686, arduino-builder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-03-20 16:28:11 UTC (rev 217687) @@ -0,0 +1,53 @@ +# Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +pkgname=arduino-builder +pkgver=1.3.25 +pkgrel=1 +pkgdesc="A command line tool for compiling Arduino sketches" +arch=('i686' 'x86_64') +url="https://github.com/arduino/arduino-builder; +license=('GPL') +depends=('arduino-ctags') +makedepends=('go' 'git' 'unzip') +optdepends=('arduino-avr-core: AVR core with upstream avr-gcc and avrdude') +options=(!strip) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/arduino/${pkgname}/archive/${pkgver}.tar.gz;) +sha512sums=('a64caa7e8ce96d6e5cd32e5b35bcc51c8dba908a14ddea4c95a9e1f8853009c454805777d483fe94db3595e267746c22b475beab8fc511b0ce2470d216eeb55a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export GOPATH="${srcdir}/${pkgname}-${pkgver}" + go get -fix github.com/go-errors/errors + go get -fix github.com/stretchr/testify + go get -fix github.com/jstemmer/go-junit-report + go build arduino.cc/arduino-builder + + # TODO Fix ctags test environment at build time + # https://github.com/arduino/arduino-builder/issues/202 +} + +check() { + # Test will download ~1GB of testfiles + echo "Running check() for the first time might take a while as it downloads ~1GB of testfiles. Skip with --nocheck" + export GOPATH="${srcdir}/${pkgname}-${pkgver}" + go test -timeout 60m arduino.cc/... +} + +package() { + # Fix platform.txt for arch arduino-ctags + cd "${srcdir}/${pkgname}-${pkgver}/src/arduino.cc/builder/hardware/" + sed -i 's#^tools.ctags.path=.*#tools.ctags.path=/usr/bin#' platform.txt + sed -i 's#^tools.ctags.cmd.path=.*#tools.ctags.cmd.path={path}/arduino-ctags#' platform.txt + + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install main tool + install -Dm755 "arduino-builder" "${pkgdir}/usr/bin/arduino-builder" + +