[arch-commits] Commit in go-ethereum/trunk (PKGBUILD geth-user.service)

Nicola Squartini tensor5 at gemini.archlinux.org
Fri Jan 7 01:22:57 UTC 2022


    Date: Friday, January 7, 2022 @ 01:22:57
  Author: tensor5
Revision: 1095792

upgpkg: go-ethereum 1.10.15-1

Added:
  go-ethereum/trunk/geth-user.service
Modified:
  go-ethereum/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   12 ++++++++----
 geth-user.service |   11 +++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-06 23:57:25 UTC (rev 1095791)
+++ PKGBUILD	2022-01-07 01:22:57 UTC (rev 1095792)
@@ -1,8 +1,8 @@
 # Maintainer: Nicola Squartini <tensor5 at gmail.com>
 
 pkgname=go-ethereum
-pkgver=1.10.14
-_commit=11a3a35097ec493d71137c9bfa433bceeedff6c0
+pkgver=1.10.15
+_commit=8be800ffa9c4992666e2620e0ab4725a1a83352b
 pkgrel=1
 pkgdesc='Official Go implementation of the Ethereum protocol'
 arch=('x86_64')
@@ -13,8 +13,10 @@
 provides=('geth')
 conflicts=('geth')
 replaces=('geth')
-source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit}")
-sha256sums=('SKIP')
+source=("git+https://github.com/ethereum/go-ethereum.git#commit=${_commit}"
+        'geth-user.service')
+sha256sums=('SKIP'
+            '806ab43221f0c203e663a78afced694786a5adb033f06fab07d07904384d7645')
 
 build() {
     cd ${pkgname}
@@ -28,4 +30,6 @@
     cd ${pkgname}
 
     install -Dm755 -t "${pkgdir}"/usr/bin build/bin/*
+    install -Dm644 ../geth-user.service \
+        "${pkgdir}/usr/lib/systemd/user/geth.service"
 }

Added: geth-user.service
===================================================================
--- geth-user.service	                        (rev 0)
+++ geth-user.service	2022-01-07 01:22:57 UTC (rev 1095792)
@@ -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