[arch-commits] Commit in go-ethereum/repos/community-x86_64 (3 files)
Nicola Squartini
tensor5 at gemini.archlinux.org
Fri Jan 7 01:23:31 UTC 2022
Date: Friday, January 7, 2022 @ 01:23:30
Author: tensor5
Revision: 1095793
archrelease: copy trunk to community-x86_64
Added:
go-ethereum/repos/community-x86_64/PKGBUILD
(from rev 1095792, go-ethereum/trunk/PKGBUILD)
go-ethereum/repos/community-x86_64/geth-user.service
(from rev 1095792, go-ethereum/trunk/geth-user.service)
Deleted:
go-ethereum/repos/community-x86_64/PKGBUILD
-------------------+
PKGBUILD | 66 +++++++++++++++++++++++++++-------------------------
geth-user.service | 11 ++++++++
2 files changed, 46 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-07 01:22:57 UTC (rev 1095792)
+++ PKGBUILD 2022-01-07 01:23:30 UTC (rev 1095793)
@@ -1,31 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=go-ethereum
-pkgver=1.10.14
-_commit=11a3a35097ec493d71137c9bfa433bceeedff6c0
-pkgrel=1
-pkgdesc='Official Go implementation of the Ethereum protocol'
-arch=('x86_64')
-url='https://geth.ethereum.org/'
-license=('GPL3')
-depends=('glibc')
-makedepends=('git' 'go')
-provides=('geth')
-conflicts=('geth')
-replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit}")
-sha256sums=('SKIP')
-
-build() {
- cd ${pkgname}
-
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie"
- make all
-}
-
-package() {
- cd ${pkgname}
-
- install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
-}
Copied: go-ethereum/repos/community-x86_64/PKGBUILD (from rev 1095792, go-ethereum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-07 01:23:30 UTC (rev 1095793)
@@ -0,0 +1,35 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=go-ethereum
+pkgver=1.10.15
+_commit=8be800ffa9c4992666e2620e0ab4725a1a83352b
+pkgrel=1
+pkgdesc='Official Go implementation of the Ethereum protocol'
+arch=('x86_64')
+url='https://geth.ethereum.org/'
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+provides=('geth')
+conflicts=('geth')
+replaces=('geth')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit}"
+ 'geth-user.service')
+sha256sums=('SKIP'
+ '806ab43221f0c203e663a78afced694786a5adb033f06fab07d07904384d7645')
+
+build() {
+ cd ${pkgname}
+
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie"
+ make all
+}
+
+package() {
+ cd ${pkgname}
+
+ install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+ install -Dm644 ../geth-user.service \
+ "${pkgdir}/usr/lib/systemd/user/geth.service"
+}
Copied: go-ethereum/repos/community-x86_64/geth-user.service (from rev 1095792, go-ethereum/trunk/geth-user.service)
===================================================================
--- geth-user.service (rev 0)
+++ geth-user.service 2022-01-07 01:23:30 UTC (rev 1095793)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Geth
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/geth
+KillSignal=SIGINT
+Restart=on-failure
+
+[Install]
+WantedBy=default.target
More information about the arch-commits
mailing list