summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore13
-rw-r--r--PKGBUILD33
-rw-r--r--galactrum-qt.desktop11
-rw-r--r--galactrum-qt.install11
5 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0a019965342
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = galactrum-qt
+ pkgdesc = Cryptocurrency wallet(QT)
+ pkgver = 1.1.6
+ pkgrel = 1
+ url = https://www.galactrum.org/
+ install = galactrum-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 = galactrum
+ source = galactrum-qt::git+http://github.com/galactrum/galactrum.git
+ source = galactrum-qt.desktop
+ sha256sums = SKIP
+ sha256sums = 3f76c3fed096afc884bdeefdce0882103c968de3ad235c720e3012aa9ab0d4e4
+
+pkgname = galactrum-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..ee87e804748
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: metscoin <mets_coin@outlook.com>
+
+pkgname=galactrum-qt
+pkgver=1.1.6
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://www.galactrum.org/"
+license=('MIT')
+pkgdesc="Cryptocurrency wallet(QT)"
+depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent)
+makedepends=(boost qt5-tools)
+conflicts=(galactrum)
+install=galactrum-qt.install
+source=("${pkgname%-git}::git+http://github.com/galactrum/galactrum.git"
+ "$pkgname.desktop")
+sha256sums=('SKIP'
+ '3f76c3fed096afc884bdeefdce0882103c968de3ad235c720e3012aa9ab0d4e4')
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --with-gui=qt5
+ make
+}
+
+
+package() {
+ install -Dm644 galactrum-qt.desktop "$pkgdir"/usr/share/applications/galactrum.desktop
+ cd "$srcdir/$pkgname"
+ install -Dm755 src/qt/galactrum-qt "$pkgdir"/usr/bin/galactrum-qt
+ install -Dm644 share/pixmaps/galactrum128.png "$pkgdir"/usr/share/pixmaps/galactrum128.png
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/galactrum-qt.desktop b/galactrum-qt.desktop
new file mode 100644
index 00000000000..8756cdbfd39
--- /dev/null
+++ b/galactrum-qt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Galactrum
+Comment=Galactrum P2P Cryptocurrency
+Exec=/usr/bin/galactrum-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/galactrum128.png
+MimeType=x-scheme-handler/galactrum;
+Categories=Office;
+Name[en_US]=galactrum-qt.desktop
diff --git a/galactrum-qt.install b/galactrum-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/galactrum-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}