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

Johannes Löthberg demize at archlinux.org
Tue May 19 18:02:02 UTC 2020


    Date: Tuesday, May 19, 2020 @ 18:02:02
  Author: demize
Revision: 629990

db-move: moved go-ipfs from [community-testing] to [community] (x86_64)

Added:
  go-ipfs/repos/community-x86_64/PKGBUILD
    (from rev 629989, go-ipfs/repos/community-testing-x86_64/PKGBUILD)
  go-ipfs/repos/community-x86_64/ipfs.service
    (from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs.service)
  go-ipfs/repos/community-x86_64/ipfs at .service
    (from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs at .service)
Deleted:
  go-ipfs/repos/community-testing-x86_64/
  go-ipfs/repos/community-x86_64/PKGBUILD
  go-ipfs/repos/community-x86_64/ipfs.service
  go-ipfs/repos/community-x86_64/ipfs at .service

--------------------------------+
 /PKGBUILD                      |   54 +++++++++++++++++++++++++++++++++++++++
 /ipfs.service                  |    9 ++++++
 /ipfs at .service                 |   10 +++++++
 community-x86_64/PKGBUILD      |   48 ----------------------------------
 community-x86_64/ipfs.service  |    9 ------
 community-x86_64/ipfs at .service |   10 -------
 6 files changed, 73 insertions(+), 67 deletions(-)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2020-05-19 18:02:01 UTC (rev 629989)
+++ community-x86_64/PKGBUILD	2020-05-19 18:02:02 UTC (rev 629990)
@@ -1,48 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Anatol Pomozov
-# Contributor: kpcyrd <git at rxv.cc>
-# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
-# Contributor: Ian Naval <ianonavy at gmail.com>
-
-pkgname=go-ipfs
-pkgver=0.4.23
-pkgrel=3
-
-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 at .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 at .service "$pkgdir/usr/lib/systemd/system/ipfs at .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-x86_64/PKGBUILD (from rev 629989, go-ipfs/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-05-19 18:02:02 UTC (rev 629990)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd <git at rxv.cc>
+# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
+# Contributor: Ian Naval <ianonavy at gmail.com>
+
+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 at .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 at .service "$pkgdir/usr/lib/systemd/system/ipfs at .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
+}

Deleted: community-x86_64/ipfs.service
===================================================================
--- community-x86_64/ipfs.service	2020-05-19 18:02:01 UTC (rev 629989)
+++ community-x86_64/ipfs.service	2020-05-19 18:02:02 UTC (rev 629990)
@@ -1,9 +0,0 @@
-[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-x86_64/ipfs.service (from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs.service)
===================================================================
--- community-x86_64/ipfs.service	                        (rev 0)
+++ community-x86_64/ipfs.service	2020-05-19 18:02:02 UTC (rev 629990)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Deleted: community-x86_64/ipfs at .service
===================================================================
--- community-x86_64/ipfs at .service	2020-05-19 18:02:01 UTC (rev 629989)
+++ community-x86_64/ipfs at .service	2020-05-19 18:02:02 UTC (rev 629990)
@@ -1,10 +0,0 @@
-[Unit]
-Description=InterPlanetary File System (IPFS) daemon
-
-[Service]
-User=%i
-ExecStart=/usr/bin/ipfs daemon
-Restart=on-failure
-
-[Install]
-WantedBy=default.target

Copied: go-ipfs/repos/community-x86_64/ipfs at .service (from rev 629989, go-ipfs/repos/community-testing-x86_64/ipfs at .service)
===================================================================
--- community-x86_64/ipfs at .service	                        (rev 0)
+++ community-x86_64/ipfs at .service	2020-05-19 18:02:02 UTC (rev 629990)
@@ -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



More information about the arch-commits mailing list