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

Filipe Laíns ffy00 at archlinux.org
Tue Sep 17 08:18:22 UTC 2019


    Date: Tuesday, September 17, 2019 @ 08:18:21
  Author: ffy00
Revision: 510970

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 42 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-17 08:18:07 UTC (rev 510969)
+++ PKGBUILD	2019-09-17 08:18:21 UTC (rev 510970)
@@ -1,50 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=arduino-cli
-pkgver=0.4.0
-pkgrel=2
-arch=('x86_64')
-pkgdesc='Arduino command line interface'
-url='https://github.com/arduino/arduino-cli'
-license=('GPL3')
-groups=('arduino')
-#checkdepends=('unzip')
-makedepends=('go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('a9266ba0e674ac6c7222a6666ac5f54581b447ed6a88924b8c306dcee7769fa903ff32b0664d24037fb8a694598a3e34461d66853ca3ac97cf94a0ffb31c90a0')
-
-prepare(){
-  export GOPATH="$srcdir"/gopath
-
-  mkdir -p "$GOPATH"/src/github.com/arduino
-  ln -rTsf "$pkgname-$pkgver" "$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 .
-}
-
-#check() {
-#  export GOPATH="$srcdir"/gopath
-#  cd "$GOPATH"/src/github.com/arduino/arduino-cli
-#
-#  go test .
-#}
-
-package() {
-  install -Dm 755 $pkgname-$pkgver/$pkgname "$pkgdir"/usr/bin/$pkgname
-}
-

Copied: arduino-cli/repos/community-x86_64/PKGBUILD (from rev 510969, arduino-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-17 08:18:21 UTC (rev 510970)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=arduino-cli
+pkgver=0.5.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=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('7a0050591e3be3c09fe847ef2ce62df51fb80935fce593e558c7bc5279996ba899cfcc7d68ebd91db3d6b9066824af3c6f5efd63a496f7e330314fc7085366c9')
+
+prepare(){
+  export GOPATH="$srcdir"/gopath
+
+  mkdir -p "$GOPATH"/src/github.com/arduino
+  ln -rTsf "$pkgname-$pkgver" "$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-$pkgver/$pkgname "$pkgdir"/usr/bin/$pkgname
+}
+


More information about the arch-commits mailing list