[arch-commits] Commit in go-ipfs/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Wed Apr 24 18:14:54 UTC 2019


    Date: Wednesday, April 24, 2019 @ 18:14:54
  Author: demize
Revision: 453406

upgpkg: go-ipfs 0.4.20-1

Modified:
  go-ipfs/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 18:06:55 UTC (rev 453405)
+++ PKGBUILD	2019-04-24 18:14:54 UTC (rev 453406)
@@ -5,7 +5,7 @@
 # Contributor: Ian Naval <ianonavy at gmail.com>
 
 pkgname=go-ipfs
-pkgver=0.4.19
+pkgver=0.4.20
 pkgrel=1
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
@@ -22,28 +22,22 @@
         ipfs at .service)
 noextract=(go-ipfs-$pkgver.tar.gz)
 
-sha512sums=('89d32fc560683b5bd4f67ae22859d57865ec364e28f065e81bd2618412dccbcc9c5a395f5f297b3ce4c9f6112560ea209e4b2a794c9b0d759b2980569b7ccf82'
+sha512sums=('153da1a8ffbe994bb7a53e8e91614eaa4499cac7ae42c44e47edecf02a978a169e122def0733acb8e6f3100e9f40acb7d207cb6f3fd0476b082bad233bd90638'
             '1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
             'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
 
 prepare() {
-  export GOPATH="$PWD"/.gopath
-  mkdir -p "$GOPATH"/src/github.com/ipfs/go-ipfs
-
-  tar -C "$GOPATH"/src/github.com/ipfs/go-ipfs -xf go-ipfs-$pkgver.tar.gz
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
 }
 
 build() {
-  export GOPATH="$PWD"/.gopath
-  cd "$GOPATH"/src/github.com/ipfs/go-ipfs
-
+  cd go-ipfs
   make build
 }
 
 package() {
-  export GOPATH="$PWD"/.gopath
-  cd "$GOPATH"/src/github.com/ipfs/go-ipfs
-
+  cd go-ipfs
   install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
   install -Dm 644 "$srcdir"/ipfs.service "$pkgdir/usr/lib/systemd/user/ipfs.service"
   install -Dm 644 "$srcdir"/ipfs at .service "$pkgdir/usr/lib/systemd/system/ipfs at .service"


More information about the arch-commits mailing list