summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore13
-rw-r--r--PKGBUILD34
-rw-r--r--kreds-qt.desktop11
-rw-r--r--kreds-qt.install11
5 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cf9fa426194
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = kreds-qt
+ pkgdesc = Cryptocurrency wallet(QT)
+ pkgver = 1.0.0
+ pkgrel = 5
+ url = https://www.kredsblockchain.com/
+ install = kreds-qt.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = boost
+ makedepends = qt5-tools
+ depends = boost-libs
+ depends = qt5-base
+ depends = qrencode
+ depends = miniupnpc
+ depends = db4.8
+ depends = zeromq
+ depends = protobuf
+ depends = libevent
+ conflicts = kreds
+ source = kreds-qt::git+https://github.com/KredsBlockchain/kreds-core.git
+ source = kreds-qt.desktop
+ sha256sums = SKIP
+ sha256sums = 6e25b4d68cf6df9684a554328c3a5cf2fbe9641203437b11901e128c17639369
+
+pkgname = kreds-qt
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1e2b0c0734b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/ \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72095671947
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: metscoin <mets_coin@outlook.com>
+
+pkgname=kreds-qt
+pkgver=1.0.0
+pkgrel=5
+arch=('i686' 'x86_64')
+url="https://www.kredsblockchain.com/"
+license=('MIT')
+pkgdesc="Cryptocurrency wallet(QT)"
+depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent)
+makedepends=(boost qt5-tools)
+conflicts=(kreds)
+install=kreds-qt.install
+source=("${pkgname%-git}::git+https://github.com/KredsBlockchain/kreds-core.git"
+ "$pkgname.desktop")
+sha256sums=('SKIP'
+ '6e25b4d68cf6df9684a554328c3a5cf2fbe9641203437b11901e128c17639369')
+
+build() {
+ cd "$srcdir/$pkgname"
+ find . -type f -iname "*.sh" -exec chmod +x {} \;
+ ./autogen.sh
+ ./configure --with-gui=qt5
+ make
+}
+
+
+package() {
+ install -Dm644 kreds-qt.desktop "$pkgdir"/usr/share/applications/kreds.desktop
+ cd "$srcdir/$pkgname"
+ install -Dm755 src/qt/kreds-qt "$pkgdir"/usr/bin/kreds-qt
+ install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/kreds128.png
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/kreds-qt.desktop b/kreds-qt.desktop
new file mode 100644
index 00000000000..0c376aa3636
--- /dev/null
+++ b/kreds-qt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Kreds
+Comment=Kreds P2P Cryptocurrency
+Exec=/usr/bin/kreds-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/kreds128.png
+MimeType=x-scheme-handler/kreds;
+Categories=Office;
+Name[en_US]=kreds-qt.desktop
diff --git a/kreds-qt.install b/kreds-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/kreds-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}