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 ++++++++++++++++++++++++++++++++ testing/geth/APKBUILD | 32 -------------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 community/geth/APKBUILD delete mode 100644 testing/geth/APKBUILD 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" diff --git a/testing/geth/APKBUILD b/testing/geth/APKBUILD deleted file mode 100644 index a8031c2ea9..0000000000 --- a/testing/geth/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# 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