[arch-commits] Commit in arduino-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu Jan 9 18:01:38 UTC 2020


    Date: Thursday, January 9, 2020 @ 18:01:38
  Author: ffy00
Revision: 551392

archrelease: copy trunk to community-x86_64

Added:
  arduino-cli/repos/community-x86_64/PKGBUILD
    (from rev 551391, arduino-cli/trunk/PKGBUILD)
Deleted:
  arduino-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-09 18:01:25 UTC (rev 551391)
+++ PKGBUILD	2020-01-09 18:01:38 UTC (rev 551392)
@@ -1,49 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=arduino-cli
-pkgver=0.7.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')
-
-prepare(){
-  cd $pkgname
-
-  # Fix version string
-  sed -i "s|versionString        = \".*\"|versionString        = \"$pkgver-arch\"|
-          s|commit               = \".*\"|commit               = \"$(git rev-parse HEAD)\"|" \
-          version/version.go
-
-  export GOPATH="$srcdir"/gopath
-
-  mkdir -p "$GOPATH"/src/github.com/arduino
-  ln -rTsf . "$GOPATH"/src/github.com/arduino/arduino-cli
-  cd "$GOPATH"/src/github.com/arduino/arduino-cli
-
-  export GO111MODULE=on
-
-  go mod vendor
-  go mod download
-}
-
-build(){
-  export GOPATH="$srcdir"/gopath
-  cd "$GOPATH"/src/github.com/arduino/arduino-cli
-
-  go build \
-  	-gcflags "all=-trimpath=$GOPATH" \
-  	-asmflags "all=-trimpath=$GOPATH" \
-  	-ldflags "-extldflags $LDFLAGS" \
-  	-v .
-}
-
-package() {
-  install -Dm 755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
-}
-

Copied: arduino-cli/repos/community-x86_64/PKGBUILD (from rev 551391, arduino-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-09 18:01:38 UTC (rev 551392)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=arduino-cli
+pkgver=0.7.2
+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')
+
+prepare(){
+  cd $pkgname
+
+  # Fix version string
+  sed -i "s|versionString        = \".*\"|versionString        = \"$pkgver-arch\"|
+          s|commit               = \".*\"|commit               = \"$(git rev-parse HEAD)\"|" \
+          version/version.go
+
+  export GOPATH="$srcdir"/gopath
+
+  mkdir -p "$GOPATH"/src/github.com/arduino
+  ln -rTsf . "$GOPATH"/src/github.com/arduino/arduino-cli
+  cd "$GOPATH"/src/github.com/arduino/arduino-cli
+
+  export GO111MODULE=on
+
+  go mod vendor
+  go mod download
+}
+
+build(){
+  export GOPATH="$srcdir"/gopath
+  cd "$GOPATH"/src/github.com/arduino/arduino-cli
+
+  go build \
+  	-gcflags "all=-trimpath=$GOPATH" \
+  	-asmflags "all=-trimpath=$GOPATH" \
+  	-ldflags "-extldflags $LDFLAGS" \
+  	-v .
+}
+
+package() {
+  install -Dm 755 $pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
+}
+



More information about the arch-commits mailing list