diff options
author | Grey Christoforo | 2019-09-25 12:18:03 +0100 |
---|---|---|
committer | Grey Christoforo | 2019-09-25 12:18:03 +0100 |
commit | cd4a9c01273a1ca1e580edc41fca1aab8de14479 (patch) | |
tree | 1d9773e5af618ab18b3c887622418bcfec22ec9f /PKGBUILD | |
parent | 7ae7bccb180809ac0eff81f8f25c1dea08391fd3 (diff) | |
download | aur-cd4a9c01273a1ca1e580edc41fca1aab8de14479.tar.gz |
fix platform rewrite install
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -40,7 +40,6 @@ build() { -gcflags "all=-trimpath=$GOPATH" \ -asmflags "all=-trimpath=$GOPATH" \ -ldflags "-extldflags $LDFLAGS" \ - -gccgoflags "$CFLAGS $LDFLAGS" \ -v . chmod -R 744 "$GOPATH" @@ -62,6 +61,9 @@ package() { # Install main tool install -Dm755 "arduino-cli" "${pkgdir}/usr/bin/arduino-cli" + # Install + install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}/${pkgname//-rc}-${_tagver}/legacy/builder/hardware/platform.keys.rewrite.txt" + # Install platform.txt files #install -Dm644 -t "${pkgdir}/usr/share/arduino/hardware/" "${srcdir}"/build/src/github.com/arduino/arduino-cli/hardware/* |