From ddf46341b114de74b24fea076da5fc348af264ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 14 Jul 2017 20:21:49 +0200 Subject: community/geth: moved from testing --- community/geth/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/geth/APKBUILD (limited to 'community/geth') diff --git a/community/geth/APKBUILD b/community/geth/APKBUILD new file mode 100644 index 0000000000..a8031c2ea9 --- /dev/null +++ b/community/geth/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: André Klitzing +# Maintainer: André Klitzing +pkgname=geth +pkgver=1.6.6 +pkgrel=0 +pkgdesc="Official Go implementation of the Ethereum protocol" +url="https://geth.ethereum.org/" +arch="all" +license="LGPLv3" +makedepends="go linux-headers" +checkdepends="fuse" +options="!check" +source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/go-ethereum/archive/v$pkgver.tar.gz" +builddir="$srcdir/go-ethereum"-$pkgver + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + mkdir -p "${pkgdir}"/usr/bin + install -m755 -t "${pkgdir}"/usr/bin build/bin/* +} + +sha512sums="edc08b328cd56f4fc8aafa58782c8b54ac9b20827c6591c8b771d3f6400fa6b03ab131c4b5767181972f1a374fb118ad607a4a3cc1c3c86546159c5b9b8cc841 geth-1.6.6.tar.gz" -- cgit v1.2.3