blob: bf4971a69a97377091923589c58509289b7dce33 (
plain)
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
|
# Maintainer: Dmitry Kharitonov <arch[at]nano-model[dot]com>
# Contributor: Michael Thalmeier <michael@thalmeier.at>
pkgname=curecoind-git
pkgver=v2.0.0.2.r21.g8cd2c3b
pkgrel=3
pkgdesc="Headless daemon for CureCoin cryptocurrency"
arch=('x86_64' 'i686')
url="https://curecoin.net/"
license=('MIT')
provides=('curecoind')
conflicts=('curecoind')
depends=('miniupnpc' 'boost-libs' 'openssl')
makedepends=('boost' 'db' 'git')
source=("git+https://github.com/cygnusxi/CurecoinSource.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/CurecoinSource
set -o pipefail
git describe --tags --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/CurecoinSource/src"
make -f makefile.unix
}
package() {
cd "${srcdir}/CurecoinSource"
install -Dm755 "${srcdir}/CurecoinSource/src/curecoind" "${pkgdir}/usr/bin/curecoind"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|