Skip to content

Instantly share code, notes, and snippets.

@5chdn
Created February 1, 2016 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5chdn/6391a5ce8673f1af4496 to your computer and use it in GitHub Desktop.
Save 5chdn/6391a5ce8673f1af4496 to your computer and use it in GitHub Desktop.
geth git patch
diff --git a/.SRCINFO b/.SRCINFO
index b56713c..e82c435 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Jan 20 16:20:57 UTC 2016
+# Mon Feb 1 22:45:08 UTC 2016
pkgbase = geth-git
pkgdesc = Ethereum Go Client
- pkgver = v0.9.39.r563.ge7f6798
+ pkgver = v0.9.39.r588.gf85212a
pkgrel = 1
url = https://github.com/ethereum/go-ethereum
arch = i686
@@ -11,7 +11,11 @@ pkgbase = geth-git
license = GPL3
makedepends = go
makedepends = gmp
+ optdepends = mist: Graphical Ethereum wallet and DApps browser.
provides = geth
+ conflicts = geth-git
+ conflicts = go-ethereum
+ conflicts = go-ethereum-git
source = geth-git::git+https://github.com/ethereum/go-ethereum.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 44efdf9..464c3aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,34 @@
# Maintainer: David Parrish <daveparrish@gmail.com>
pkgname=geth-git
-pkgver=v0.9.39.r563.ge7f6798
+pkgver=v0.9.39.r588.gf85212a
pkgrel=1
pkgdesc="Ethereum Go Client"
arch=('i686' 'x86_64')
url="https://github.com/ethereum/go-ethereum"
license=('LGPL3' 'GPL3')
makedepends=('go' 'gmp')
+optdepends=('mist: Graphical Ethereum wallet and DApps browser.')
+conflicts=(
+ 'geth-git'
+ 'go-ethereum'
+ 'go-ethereum-git'
+)
provides=('geth')
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'
}
build() {
cd "${srcdir}/${pkgbase}"
+ git checkout develop
+ git pull
make
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment