summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormetscoin2018-06-08 20:35:03 -0400
committermetscoin2018-06-08 20:35:03 -0400
commit1fde8b0eea9586e77ff7e7d3bc37f893ea6ad650 (patch)
tree0f51d18d137618bbad0c52ee9e9914e269c661b7
downloadaur-1fde8b0eea9586e77ff7e7d3bc37f893ea6ad650.tar.gz
Init btcmonster-qt repo
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD33
-rw-r--r--btcmonster-qt.desktop11
-rw-r--r--btcmonster-qt.install11
4 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b0076228000
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = btcmonster-qt
+ pkgdesc = Cryptocurrency wallet(QT)
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://bitcoinmonster.org/
+ install = btcmonster-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 = btcmonster
+ source = btcmonster-qt::git+http://github.com/Bitcoin-Monster/BTCMonster.git
+ source = btcmonster-qt.desktop
+ sha256sums = SKIP
+ sha256sums = 9b6a422f000b3f8963e64317c06deb4d704b375b4a13b8e8c67f3d88503dd744
+
+pkgname = btcmonster-qt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..160b0e75d21
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: metscoin <mets_coin@outlook.com>
+
+pkgname=btcmonster-qt
+pkgver=1.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://bitcoinmonster.org/"
+license=('MIT')
+pkgdesc="Cryptocurrency wallet(QT)"
+depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent)
+makedepends=(boost qt5-tools)
+conflicts=(btcmonster)
+install=btcmonster-qt.install
+source=("${pkgname%-git}::git+http://github.com/Bitcoin-Monster/BTCMonster.git"
+ "$pkgname.desktop")
+sha256sums=('SKIP'
+ '9b6a422f000b3f8963e64317c06deb4d704b375b4a13b8e8c67f3d88503dd744')
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --with-gui=qt5
+ make
+}
+
+
+package() {
+ install -Dm644 btcmonster-qt.desktop "$pkgdir"/usr/share/applications/btcmonster.desktop
+ cd "$srcdir/$pkgname"
+ install -Dm755 src/qt/bitcoinmonster-qt "$pkgdir"/usr/bin/btcmonster-qt
+ install -Dm644 share/pixmaps/bitcoinmonster128.png "$pkgdir"/usr/share/pixmaps/bitcoinmonster128.png
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/btcmonster-qt.desktop b/btcmonster-qt.desktop
new file mode 100644
index 00000000000..9d3a3add831
--- /dev/null
+++ b/btcmonster-qt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=BTCMonster
+Comment=BTCMonster P2P Cryptocurrency
+Exec=/usr/bin/btcmonster-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/bitcoinmonster128.png
+MimeType=x-scheme-handler/btcmonster;
+Categories=Office;
+Name[en_US]=btcmonster-qt.desktop
diff --git a/btcmonster-qt.install b/btcmonster-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/btcmonster-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}