summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD33
-rw-r--r--pigeon-qt.desktop11
-rw-r--r--pigeon-qt.install11
4 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1dcf4312b03
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = pigeon-qt
+ pkgdesc = Peer-to-peer network based digital currency (QT)
+ pkgver = 0.15.99
+ pkgrel = 2
+ url = http://pigeoncoin.org/
+ install = pigeon-qt.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = boost
+ makedepends = qt5-tools
+ depends = boost-libs
+ depends = qt5-base
+ depends = db4.8
+ depends = zeromq
+ depends = miniupnpc
+ depends = qrencode
+ depends = protobuf
+ depends = libevent
+ conflicts = pigeon
+ source = pigeon-qt::git+http://github.com/Pigeoncoin/pigeoncoin.git
+ source = pigeon-qt.desktop
+ sha256sums = SKIP
+ sha256sums = 331bd8fb38aae6d94a0e7494ff183f8d918eeb6d143ffcfa8ca61546338f265d
+
+pkgname = pigeon-qt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..faa967c2a97
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Mark Tompkins <mets_dev@outlook.com>
+
+pkgname=pigeon-qt
+pkgver=0.15.99
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://pigeoncoin.org/"
+license=('MIT')
+pkgdesc="Peer-to-peer network based digital currency (QT)"
+depends=(boost-libs qt5-base db4.8 zeromq miniupnpc qrencode protobuf libevent)
+makedepends=(boost qt5-tools)
+conflicts=(pigeon)
+install=pigeon-qt.install
+source=("${pkgname%-git}::git+http://github.com/Pigeoncoin/pigeoncoin.git"
+ "$pkgname.desktop")
+sha256sums=('SKIP'
+ '331bd8fb38aae6d94a0e7494ff183f8d918eeb6d143ffcfa8ca61546338f265d')
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+ ./configure --with-gui=qt5
+ make
+}
+
+
+package() {
+ install -Dm644 pigeon-qt.desktop "$pkgdir"/usr/share/applications/pigeon.desktop
+ cd "$srcdir/$pkgname"
+ install -Dm755 src/qt/pigeon-qt "$pkgdir"/usr/bin/pigeon-qt
+ install -Dm644 share/pixmaps/pigeon128.png "$pkgdir"/usr/share/pixmaps/pigeon128.png
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/pigeon-qt.desktop b/pigeon-qt.desktop
new file mode 100644
index 00000000000..c5998218685
--- /dev/null
+++ b/pigeon-qt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Pigeoncoin
+Comment=Pigeoncoin P2P Cryptocurrency
+Exec=/usr/bin/pigeon-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/pigeon128.png
+MimeType=x-scheme-handler/pigeon;
+Categories=Office;
+Name[en_US]=pigeon-qt.desktop
diff --git a/pigeon-qt.install b/pigeon-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/pigeon-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}