summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreenRaccoon232015-09-30 11:44:17 -0400
committerGreenRaccoon232015-09-30 11:44:17 -0400
commit8a0086f8c766a7fd215fbd04e9c9c2129ab9ac37 (patch)
tree016f03d44da7ce85ac9af904f9dde5168f115bad
downloadaur-8a0086f8c766a7fd215fbd04e9c9c2129ab9ac37.tar.gz
Initial upload
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD48
2 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1e36105d892
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = dashcore-git
+ pkgdesc = Dash Core (DASH, Dashpay, formerly Darkcoin) is an open source, privacy-centric digital currency. (Includes the qt-client, the headless daemon and the command-line tool.)
+ pkgver = 9880.c30a0aa
+ pkgrel = 1
+ url = https://www.dashpay.io/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = autoconf
+ makedepends = automake
+ makedepends = binutils
+ makedepends = gcc
+ makedepends = libtool
+ makedepends = make
+ makedepends = pkg-config
+ makedepends = git
+ makedepends = qrencode
+ makedepends = automoc4
+ makedepends = protobuf
+ makedepends = qt5-tools
+ depends = qt5-base
+ depends = boost
+ depends = boost-libs
+ depends = miniupnpc
+ depends = openssl
+ provides = dashd
+ provides = dash-qt
+ provides = dash-cli
+ conflicts = dashcore
+ source = git://github.com/dashpay/dash.git
+ sha512sums = SKIP
+
+pkgname = dashcore-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..57a260bb041
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Vertoe <vertoe AT darkcoin DOT io>
+# Contributor: deusstultus <deusstultus AT gmail DOT com>
+# Contributor: Viliam Kubis <viliam DOT kubis AT gmail DOT com>
+# Contributor: GreenRaccoon23 <GreenRaccoon23 AT gmail DOT com>
+# Based on PKGBUILD from vertcoin-git maintained by Lothar_m <lothar_m AT riseup DOT net>
+
+pkgname='dashcore-git'
+_gitname='dash'
+_gitbranch='master'
+pkgver=9880.c30a0aa
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://www.dashpay.io/"
+depends=('qt5-base' 'boost' 'boost-libs' 'miniupnpc' 'openssl')
+makedepends=('autoconf' 'automake' 'binutils' 'gcc' 'libtool' 'make' 'pkg-config' 'git' 'qrencode' 'automoc4' 'protobuf' 'qt5-tools')
+license=('MIT')
+pkgdesc="Dash Core (DASH, Dashpay, formerly Darkcoin) is an open source, privacy-centric digital currency. (Includes the qt-client, the headless daemon and the command-line tool.)"
+provides=('dashd' 'dash-qt' 'dash-cli')
+conflicts=('dashcore')
+source=("git://github.com/dashpay/dash.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git checkout "$_gitbranch" -q
+ git pull -q
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ CXXFLAGS+=" -fPIE -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1"
+ cd "$srcdir/$_gitname"
+ git checkout "$_gitbranch"
+ git pull
+
+ ./autogen.sh
+ ./configure --with-incompatible-bdb --with-gui=qt5 --enable-tests=no
+ make
+}
+
+package() {
+ install -D -m755 "$srcdir/$_gitname/src/qt/dash-qt" "$pkgdir/usr/bin/dash-qt"
+ install -D -m755 "$srcdir/$_gitname/src/dashd" "$pkgdir/usr/bin/dashd"
+ install -D -m755 "$srcdir/$_gitname/src/dash-cli" "$pkgdir/usr/bin/dash-cli"
+ install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 "$srcdir/$_gitname/share/pixmaps/dash128.png" "$pkgdir/usr/share/pixmaps/dash128.png"
+ install -D -m644 "$srcdir/$_gitname/contrib/debian/dash-qt.desktop" "$pkgdir/usr/share/applications/dash-qt.desktop"
+} \ No newline at end of file