diff options
-rw-r--r-- | .SRCINFO | 40 | ||||
-rw-r--r-- | COPYING | 23 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | galactrum-qt.desktop | 10 | ||||
-rw-r--r-- | galactrum.install | 43 | ||||
-rw-r--r-- | galactrum256.png | bin | 0 -> 48249 bytes |
6 files changed, 155 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..774b7de12a77 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,40 @@ +pkgbase = galactrum + pkgdesc = Galactrum is an autonomous self-governing digital currency. (Includes the qt-client, the headless daemon and the command-line tool.) + pkgver = 1.1.5 + pkgrel = 0 + url = https://www.galactrum.org/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = autoconf + makedepends = automake + makedepends = binutils + makedepends = gcc + makedepends = libtool + makedepends = make + makedepends = pkg-config + makedepends = automoc4 + makedepends = protobuf + depends = qt4 + depends = boost + depends = boost-libs + depends = miniupnpc + depends = openssl + depends = qrencode + provides = galactrumd + provides = galactrum-qt + provides = galactrum-cli + conflicts = galactrum-git + source = galactrum256.png + source = galactrum-qt.desktop + source = COPYING + sha256sums = aaf2da4aac835419a822d0315864df43f04834f3c9ab9f4f5478cf0f6e878060 + sha256sums = 06cd16ebaddfc062912a8acf7a299c6317f79def5dec3ccabf4410ebd858a95a + sha256sums = e62ea9d131dfaabd2c16c54df309839e286afe83a31403bd3db2bf78cf083486 + source_i686 = https://github.com/galactrum/galactrum/releases/download/v1.1.5/galactrum-1.1.5-linux32.tar.gz + sha256sums_i686 = a813a2d8ba7ec300e8dc244eebb73e16bbc398c027cfacfacd80b741f9cb63bf + source_x86_64 = https://github.com/galactrum/galactrum/releases/download/v1.1.5/galactrum-1.1.5-linux64.tar.gz + sha256sums_x86_64 = 2153efd6e65872d1910484d88f34becc7aa7b5af035447a61d498b72692aeff2 + +pkgname = galactrum + diff --git a/COPYING b/COPYING new file mode 100644 index 000000000000..8d6cb97053e1 --- /dev/null +++ b/COPYING @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) 2009-2016 The Bitcoin Core developers +Copyright (c) 2014-2017 The Dash Core developers +// Copyright (c) 2017-2018 The Galactrum developers + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2188b794b8fb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Michael Thalmeier <michael AT thalmeier DOT at> +# Based on PKGBUILD from dashcore maintained by GreenRaccoon23 <GreenRaccoon23 AT gmail DOT com> + +pkgname='galactrum'; +pkgver=1.1.5; +pkgrel=0; +arch=('i686' 'x86_64'); +url="https://www.galactrum.org/"; +depends=('qt4' 'boost' 'boost-libs' 'miniupnpc' 'openssl' 'qrencode'); +makedepends=('autoconf' 'automake' 'binutils' 'gcc' 'libtool' 'make' 'pkg-config' 'automoc4' 'protobuf'); +license=('MIT'); +pkgdesc="Galactrum is an autonomous self-governing digital currency. (Includes the qt-client, the headless daemon and the command-line tool.)"; +provides=('galactrumd' 'galactrum-qt' 'galactrum-cli'); +conflicts=('galactrum-git'); + +source=( + 'galactrum256.png' + 'galactrum-qt.desktop' + 'COPYING' +); +source_i686=("https://github.com/galactrum/galactrum/releases/download/v${pkgver}/galactrum-${pkgver}-linux32.tar.gz"); +source_x86_64=("https://github.com/galactrum/galactrum/releases/download/v${pkgver}/galactrum-${pkgver}-linux64.tar.gz"); +sha256sums=( + 'aaf2da4aac835419a822d0315864df43f04834f3c9ab9f4f5478cf0f6e878060' + '06cd16ebaddfc062912a8acf7a299c6317f79def5dec3ccabf4410ebd858a95a' + 'e62ea9d131dfaabd2c16c54df309839e286afe83a31403bd3db2bf78cf083486' +); +sha256sums_i686=('a813a2d8ba7ec300e8dc244eebb73e16bbc398c027cfacfacd80b741f9cb63bf'); +sha256sums_x86_64=('2153efd6e65872d1910484d88f34becc7aa7b5af035447a61d498b72692aeff2'); + +package() { + install -D -m755 "$srcdir/$pkgname-${pkgver}/bin/galactrum-qt" "$pkgdir/usr/bin/galactrum-qt"; + install -D -m755 "$srcdir/$pkgname-${pkgver}/bin/galactrumd" "$pkgdir/usr/bin/galactrumd"; + install -D -m755 "$srcdir/$pkgname-${pkgver}/bin/galactrum-cli" "$pkgdir/usr/bin/galactrum-cli"; + install -D -m755 "$srcdir/$pkgname-${pkgver}/bin/galactrum-tx" "$pkgdir/usr/bin/galactrum-tx"; + install -D -m644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"; + install -D -m644 "galactrum256.png" "$pkgdir/usr/share/pixmaps/galactrum256.png"; + install -D -m644 "galactrum-qt.desktop" "$pkgdir/usr/share/applications/galactrum-qt.desktop"; +}; diff --git a/galactrum-qt.desktop b/galactrum-qt.desktop new file mode 100644 index 000000000000..5d13e0f0f459 --- /dev/null +++ b/galactrum-qt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Galactrum +Comment=Galactrum P2P Cryptocurrency +Exec=galactrum-qt %u +Terminal=false +Type=Application +Icon=galactrum256 +MimeType=x-scheme-handler/galactrum; +Categories=Office;Finance; diff --git a/galactrum.install b/galactrum.install new file mode 100644 index 000000000000..53d5f0c8e77b --- /dev/null +++ b/galactrum.install @@ -0,0 +1,43 @@ +post_upgrade() { + msg2 "If you see a 'No block source available' message in the bottom-left corner of the application, close the application, wait 30 seconds, then relaunch it from Terminal with the command `dash-qt -reindex &disown`"; +}; + +_msg() { + _green "==> "; + _white "$@"; + tput sgr 0; +}; + +_msg2() { + _blue " -> "; + _white "$@"; + tput sgr 0; +}; + +_green() { + _color "2" "${1}"; +}; + +_blue() { + _color "4" "${1}"; +}; + +_white() { + _color "7"; + for line; do + echo "${line}" ; + done ; +}; + +_color() { + tput bold; + tput setaf "${1}"; + + if ! [ "${2}" ]; then + return; + fi; + + printf "%s" "${2}"; +}; + +# vim: ts=2 sw=2 et: diff --git a/galactrum256.png b/galactrum256.png Binary files differnew file mode 100644 index 000000000000..091e5e9edb8b --- /dev/null +++ b/galactrum256.png |