aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/datacoin-hp/APKBUILD
blob: f921f2a50574bbbcdbeffcd2159b200887cd505b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=datacoin-hp
pkgver=0_git20140921
pkgrel=0
_commit=791125b901767b9dec40e04f6865181a3276395b
pkgdesc="High-performance version of datacoin"
url=https://github.com/foo1inge/datacoin-hp
arch="x86_64"
license=MIT
depends=
makedepends="boost-dev db-dev gmp-dev miniupnpc-dev openssl-dev"
install=
subpackages=
source=$url/archive/$_commit.zip

_builddir=$srcdir/$pkgname-$_commit/src
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make -f makefile.unix BOOST_LIB_SUFFIX=-mt
}

package() {
	cd "$_builddir"
	install -D -m 755 datacoind "$pkgdir/usr/bin/datacoind"
}

md5sums="f5fc62457bf6d64286eb24d11a4b3169  791125b901767b9dec40e04f6865181a3276395b.zip"
sha256sums="99c0147bdf838337ff4b6b66519f6e04810b8ff2d88251bcb46e844c4720a507  791125b901767b9dec40e04f6865181a3276395b.zip"
sha512sums="8925bd53749f5370299c38a90c96be539c8064de4e077cc0f6090353d9484fdcd38236c0da88b9c2d6cfb215d77ad02addd0061ce39f997581251cdcb0a2495a  791125b901767b9dec40e04f6865181a3276395b.zip"