[arch-commits] Commit in go-ipfs/repos (4 files)

2020-10-12 Thread Johannes Löthberg via arch-commits
Date: Monday, October 12, 2020 @ 17:25:47
  Author: demize
Revision: 723699

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 723698, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 723698, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 723698, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 723698, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-10-12 17:25:47 UTC (rev 723699)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.7.0
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('46ac79e5a0779bad298a3a0d201fb24408951523554cfa0223f3c50bf402a2bcaac9ec4d911f02799a6d77447127f33cb4f85a234fff40d6831b992e8a094c38'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 723698, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-10-12 17:25:47 UTC (rev 
723699)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 723698, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-10-12 17:25:47 UTC (rev 
723699)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-07-06 Thread Johannes Löthberg via arch-commits
Date: Monday, July 6, 2020 @ 15:12:28
  Author: demize
Revision: 658029

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 658028, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 658028, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 658028, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 658028, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-07-06 15:12:28 UTC (rev 658029)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.6.0
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('36ac0fdea8942ef121614dd6dc53b0b5afe9963ac44b7d7c4c42753eebea7b8f14f483d9561ddd9207551cf91366aef8a27114f961d71d807ac088613a628b3c'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 658028, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-07-06 15:12:28 UTC (rev 
658029)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 658028, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-07-06 15:12:28 UTC (rev 
658029)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-05-10 Thread Johannes Löthberg via arch-commits
Date: Sunday, May 10, 2020 @ 20:26:16
  Author: demize
Revision: 626218

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 626217, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 626217, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 626217, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   54 ++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 73 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 626217, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-05-10 20:26:16 UTC (rev 626218)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.5.1
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('70bce53e435137a7fa959e7cb6fc8333f60d29c7053fcc685ebe01e2c816295ad38898402d317d2c4fd7f48542e0c3886ccb5ddf0797415a1cfe03ffa1731245'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 626217, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-05-10 20:26:16 UTC (rev 
626218)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 626217, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-05-10 20:26:16 UTC (rev 
626218)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/repos (4 files)

2020-02-01 Thread Johannes Löthberg via arch-commits
Date: Saturday, February 1, 2020 @ 12:23:13
  Author: demize
Revision: 561013

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 561012, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 561012, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 561012, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   48 
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 67 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 561012, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-02-01 12:23:13 UTC (rev 561013)
@@ -0,0 +1,48 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.4.23
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go-pie git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('d87513392336fc537bf9c8578d34d650482001c37c1636d64f68fe5d5291c21990c72286c26f43cb6bc2c9c9df14bae69996b60ad6744f335276d52b0cb6978e'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+  make build
+}
+
+package() {
+  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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 561012, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2020-02-01 12:23:13 UTC (rev 
561013)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 561012, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2020-02-01 12:23:13 UTC (rev 
561013)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/repos (4 files)

2019-04-24 Thread Johannes Löthberg via arch-commits
Date: Wednesday, April 24, 2019 @ 18:15:06
  Author: demize
Revision: 453407

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 453406, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 453406, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 453406, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   47 +++
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 66 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 453406, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-04-24 18:15:06 UTC (rev 453407)
@@ -0,0 +1,47 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.4.20
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go-pie git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://dist.ipfs.io/go-ipfs/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('153da1a8ffbe994bb7a53e8e91614eaa4499cac7ae42c44e47edecf02a978a169e122def0733acb8e6f3100e9f40acb7d207cb6f3fd0476b082bad233bd90638'
+
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+}
+
+build() {
+  cd go-ipfs
+  make build
+}
+
+package() {
+  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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 453406, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2019-04-24 18:15:06 UTC (rev 
453407)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 453406, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2019-04-24 18:15:06 UTC (rev 
453407)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target


[arch-commits] Commit in go-ipfs/repos (4 files)

2019-03-17 Thread Johannes Löthberg via arch-commits
Date: Sunday, March 17, 2019 @ 13:40:12
  Author: demize
Revision: 442371

archrelease: copy trunk to community-testing-x86_64

Added:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-testing-x86_64/PKGBUILD
(from rev 442370, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-testing-x86_64/ipfs.service
(from rev 442370, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-testing-x86_64/ipfs@.service
(from rev 442370, go-ipfs/trunk/ipfs@.service)

---+
 PKGBUILD  |   53 +
 ipfs.service  |9 +
 ipfs@.service |   10 ++
 3 files changed, 72 insertions(+)

Copied: go-ipfs/repos/community-testing-x86_64/PKGBUILD (from rev 442370, 
go-ipfs/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-03-17 13:40:12 UTC (rev 442371)
@@ -0,0 +1,53 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd 
+# Contributor: Frederik “Freso” S. Olesen 
+# Contributor: Ian Naval 
+
+pkgname=go-ipfs
+pkgver=0.4.19
+pkgrel=1
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go-pie git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://dist.ipfs.io/go-ipfs/v$pkgver/go-ipfs-source.tar.gz
+ipfs.service
+ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('89d32fc560683b5bd4f67ae22859d57865ec364e28f065e81bd2618412dccbcc9c5a395f5f297b3ce4c9f6112560ea209e4b2a794c9b0d759b2980569b7ccf82'
+
'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
+}
+
+build() {
+  export GOPATH="$PWD"/.gopath
+  cd "$GOPATH"/src/github.com/ipfs/go-ipfs
+
+  make build
+}
+
+package() {
+  export GOPATH="$PWD"/.gopath
+  cd "$GOPATH"/src/github.com/ipfs/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@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Copied: go-ipfs/repos/community-testing-x86_64/ipfs.service (from rev 442370, 
go-ipfs/trunk/ipfs.service)
===
--- community-testing-x86_64/ipfs.service   (rev 0)
+++ community-testing-x86_64/ipfs.service   2019-03-17 13:40:12 UTC (rev 
442371)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Copied: go-ipfs/repos/community-testing-x86_64/ipfs@.service (from rev 442370, 
go-ipfs/trunk/ipfs@.service)
===
--- community-testing-x86_64/ipfs@.service  (rev 0)
+++ community-testing-x86_64/ipfs@.service  2019-03-17 13:40:12 UTC (rev 
442371)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target