Package Details: geth-git 1.6.7.r24.g3a678a15c-1

Git Clone URL: https://aur.archlinux.org/geth-git.git (read-only, click to copy)
Package Base: geth-git
Description: Ethereum Go Client
Upstream URL: https://github.com/ethereum/go-ethereum
Licenses: GPL3, LGPL3
Conflicts: geth-git, go-ethereum, go-ethereum-git
Provides: abigen, bootnode, disasm, evm, geth, gethrpctest, rlpdump
Submitter: dmp1ce
Maintainer: 5chdn
Last Packager: 5chdn
Votes: 7
Popularity: 0.000000
First Submitted: 2015-06-25 04:41 (UTC)
Last Updated: 2017-07-25 09:48 (UTC)

Dependencies (4)

Required by (4)

Sources (1)

Latest Comments

1 2 Next › Last »

timebomb commented on 2018-03-14 16:30 (UTC) (edited on 2018-03-14 16:30 (UTC) by timebomb)

veox, yeah looks broken, also puppeth is not being installed.

diff --git a/PKGBUILD b/PKGBUILD
index [`7dd8af3`](https://aur.archlinux.org/cgit/aur.git/commit/?h=geth-git&id=7dd8af3)..cbbeaa3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,13 +19,17 @@ optdepends=(
   'mist: Mist dapp browser and Ethereum wallet.'
 )
 provides=(
-    'geth'
-    'abigen'
-    'bootnode'
-    'disasm'
-    'evm'
-    'gethrpctest'
-    'rlpdump'
+  'geth'
+  'abigen'
+  'bootnode'
+  'evm'
+  'rlpdump'
+  'ethkey'
+  'faucet'
+  'p2psim'
+  'puppeth'
+  'swarm'
+  'wnode'
 )
 source=("${pkgname}::git+<https://github.com/ethereum/go-ethereum.git#branch=master>")
 sha256sums=('SKIP')
@@ -43,11 +47,16 @@ build() {
 package() {
   cd "$pkgbase"
   install -Dm755 build/bin/geth "$pkgdir"/usr/bin/geth
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/abigen
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/bootnode
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/disasm
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/evm
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/gethrpctest
-  install -Dm755 build/bin/geth "$pkgdir"/usr/bin/rlpdump
+  install -Dm755 build/bin/abigen "$pkgdir"/usr/bin/abigen
+  install -Dm755 build/bin/bootnode "$pkgdir"/usr/bin/bootnode
+  install -Dm755 build/bin/evm "$pkgdir"/usr/bin/evm
+  install -Dm755 build/bin/rlpdump "$pkgdir"/usr/bin/rlpdump
+  install -Dm755 build/bin/ethkey "$pkgdir"/usr/bin/ethkey
+  install -Dm755 build/bin/faucet "$pkgdir"/usr/bin/faucet
+  install -Dm755 build/bin/p2psim "$pkgdir"/usr/bin/p2psim
+  install -Dm755 build/bin/puppeth "$pkgdir"/usr/bin/puppeth
+  install -Dm755 build/bin/swarm "$pkgdir"/usr/bin/swarm
+  install -Dm755 build/bin/wnode "$pkgdir"/usr/bin/wnode
+
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }

veox commented on 2018-02-12 18:11 (UTC)

It seems that in package(), the geth binary gets installed as all the binaries?..

5chdn commented on 2017-07-25 09:48 (UTC)

Thanks for the patch, updated.

dmp1ce commented on 2016-06-21 23:18 (UTC)

Here is my patch. I'll let @5chdn decide if it should be committed. diff --git a/.SRCINFO b/.SRCINFO index eb3487f..4bf7e40 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Wed Jun 15 13:33:36 UTC 2016 +# Tue Jun 21 23:14:18 UTC 2016 pkgbase = geth-git pkgdesc = Ethereum Go Client pkgver = 1.4.7.r0.g667a386 diff --git a/PKGBUILD b/PKGBUILD index 704c6f0..0467ad8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,11 +26,17 @@ pkgver() { build() { cd "${srcdir}/${pkgbase}" - make + make all } package() { cd "$pkgbase" install -Dm755 build/bin/geth "$pkgdir"/usr/bin/geth + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/abigen + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/bootnode + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/disasm + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/evm + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/gethrpctest + install -Dm755 build/bin/geth "$pkgdir"/usr/bin/rlpdump install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }

dmp1ce commented on 2016-06-21 22:59 (UTC)

@trekdev It is definitely possible. I'll look into it if @5chdn doesn't get to it first.

trekdev commented on 2016-06-21 10:33 (UTC)

Is there any possibility the PKGBUILD could expose the other binaries provided with geth: https://github.com/ethereum/go-ethereum/#executables

5chdn commented on 2016-05-31 15:30 (UTC)

Adapted the PKGBUILD to reflect the changes below. Master branch should be good for now.

dmp1ce commented on 2016-05-22 20:20 (UTC) (edited on 2016-05-22 23:46 (UTC) by dmp1ce)

This package should probably use the 'master' branch actually. Another package should be for 'develop' branch if it is needed. Also, namcap detected that glibc is a dependency and there were some extra lines of code that I don't think are needed. Here is my proposed patch: diff --git a/PKGBUILD b/PKGBUILD index 5c3ef8b..d2d8eb7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,12 +2,13 @@ # Co-Maintainer: Afri 5chdn <aur@cach.co> pkgname=geth-git -pkgver=v0.9.39.r963.gc8a8ad9 +pkgver=1.4.4.r1.g8ea3c88 pkgrel=1 pkgdesc="Ethereum Go Client" arch=('i686' 'x86_64') url="https://github.com/ethereum/go-ethereum" license=('LGPL3' 'GPL3') +depends=('glibc') makedepends=('go' 'gmp') optdepends=('mist: Graphical Ethereum wallet and DApps browser.') conflicts=( @@ -16,20 +17,16 @@ conflicts=( 'go-ethereum-git' ) provides=('geth') -source=("${pkgname}::git+https://github.com/ethereum/go-ethereum.git#branch=develop") +source=("${pkgname}::git+https://github.com/ethereum/go-ethereum.git") sha256sums=('SKIP') pkgver() { cd "$pkgbase" - git checkout -q develop - git pull -q - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "${srcdir}/${pkgbase}" - git checkout develop - git pull make }

redfish commented on 2016-05-22 18:36 (UTC) (edited on 2016-05-22 18:36 (UTC) by redfish)

Because develop branch does not contain all commits that are tagged releases, latest contained tagged release (1.0.1 currently) is not very meaningful for devel branch. However, the master branch does contain tagged commits, and the tag is meaningful. To make this package compatible with either branch, please change the pkgver to (1) use a _branch variable, (2) include the unannotated release tags in git describe command, (3) cut 'v' prefix, (4) no need for checkout command: _branch=develop source=("...#branch=${_branch}") pkgver() { cd $pkgname git describe --long --tags ${_branch} | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } Details here: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git No need to do a git checkout in build(), makepkg checks out the branch specified after # automatically. Also, bump the package version in PKGBUILD to either '1.0.1' (latest tagged commit in develop, even if not very meaningful) or '1.4.4' (latest in master).

dmp1ce commented on 2016-03-04 05:43 (UTC)

I added you 5chdn