[arch-commits] Commit in arduino-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 15:54:45 UTC 2020
Date: Sunday, July 5, 2020 @ 15:54:45
Author: foxboron
Revision: 657886
archrelease: copy trunk to community-x86_64
Added:
arduino-cli/repos/community-x86_64/PKGBUILD
(from rev 657885, arduino-cli/trunk/PKGBUILD)
Deleted:
arduino-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++++++---------------------------
1 file changed, 30 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 15:54:37 UTC (rev 657885)
+++ PKGBUILD 2020-07-05 15:54:45 UTC (rev 657886)
@@ -1,27 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=arduino-cli
-pkgver=0.11.0
-pkgrel=1
-arch=('x86_64')
-pkgdesc='Arduino command line interface'
-url='https://github.com/arduino/arduino-cli'
-license=('GPL3')
-groups=('arduino')
-makedepends=('go-pie' 'git')
-source=("git+$url.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-build(){
- cd $pkgname
-
- go build \
- -trimpath \
- -ldflags "-X github.com/arduino/arduino-cli/version.versionString=$pkgver-arch -X github.com/arduino/arduino-cli/version.commit=$(git rev-parse HEAD) -extldflags $LDFLAGS" \
- -v .
-}
-
-package() {
- install -Dm 755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
-}
-
Copied: arduino-cli/repos/community-x86_64/PKGBUILD (from rev 657885, arduino-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 15:54:45 UTC (rev 657886)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=arduino-cli
+pkgver=0.11.0
+pkgrel=2
+arch=('x86_64')
+pkgdesc='Arduino command line interface'
+url='https://github.com/arduino/arduino-cli'
+license=('GPL3')
+groups=('arduino')
+makedepends=('go' 'git')
+source=("git+$url.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build(){
+ cd $pkgname
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go build \
+ -ldflags "-X github.com/arduino/arduino-cli/version.versionString=$pkgver-arch -X github.com/arduino/arduino-cli/version.commit=$(git rev-parse HEAD)" \
+ -v .
+}
+
+package() {
+ install -Dm 755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
+}
+
More information about the arch-commits
mailing list