summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Klepp2015-06-15 02:59:29 +0200
committerJakob Klepp2015-06-15 02:59:29 +0200
commit8b69da74b8b0b10912c1c3e8b682230b73f86a7a (patch)
treeaf096c56e4da5418ee5788c11226599b8d9afdcf
downloadaur-8b69da74b8b0b10912c1c3e8b682230b73f86a7a.tar.gz
updated flappycoin to version 4.0
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD47
-rw-r--r--flappycoin.desktop10
-rw-r--r--flappycoin.install11
4 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1c52b18355b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = flappycoin-qt
+ pkgdesc = Cryptocurrency
+ pkgver = 4.0.0
+ pkgrel = 1
+ url = http://flappycoin.info/
+ install = flappycoin.install
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = boost
+ makedepends = gcc
+ makedepends = make
+ makedepends = git
+ makedepends = miniupnpc
+ makedepends = boost-libs
+ makedepends = protobuf
+ makedepends = openssl
+ makedepends = db
+ depends = qt5-base
+ depends = miniupnpc
+ depends = boost-libs
+ depends = protobuf
+ depends = openssl
+ depends = db
+ provides = flappycoin-qt
+ source = https://github.com/FlappycoinDEV/flappycoin/archive/v4.0.tar.gz
+ source = flappycoin.desktop
+ sha512sums = bde1d421ab46dabc86792112be5f69bc49a21d8b3a13be99fe54b0600c9cd6c4ac72bd2867a66541b864f09288e63124366f3fb4b4d41ebe69176d3b50c9153a
+ sha512sums = 166004f5dfbbfc1e389140f9b26f9d7a17b300642338db458045d0bbfe07caeaee4723812cdb9177cdc3fa63505582d7fb7de5af5c7c276146765948310c9bb1
+
+pkgname = flappycoin-qt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..40fa89f9ee2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+#Maintainer truh <truhgoj[├ĄT]truh(O)in>
+
+pkgname=flappycoin-qt
+_binname=flappycoin
+pkgver=4.0.0
+pkgrel=1
+_version=4.0
+pkgdesc="Cryptocurrency"
+arch=('x86_64' 'i686')
+url="http://flappycoin.info/"
+license=('MIT')
+provides=('flappycoin-qt')
+depends=('qt5-base' 'miniupnpc' 'boost-libs' 'protobuf' 'openssl' 'db')
+makedepends=('boost' 'gcc' 'make' 'git' 'miniupnpc' 'boost-libs' 'protobuf' 'openssl' 'db')
+source=("https://github.com/FlappycoinDEV/flappycoin/archive/v${_version}.tar.gz"
+ "flappycoin.desktop")
+install=flappycoin.install
+
+sha512sums=('bde1d421ab46dabc86792112be5f69bc49a21d8b3a13be99fe54b0600c9cd6c4ac72bd2867a66541b864f09288e63124366f3fb4b4d41ebe69176d3b50c9153a'
+ '166004f5dfbbfc1e389140f9b26f9d7a17b300642338db458045d0bbfe07caeaee4723812cdb9177cdc3fa63505582d7fb7de5af5c7c276146765948310c9bb1')
+
+## files & commands for building
+_qmake=qmake-qt5
+
+prepare() {
+ cd ${srcdir}/flappycoin-${_version}/
+}
+
+build() {
+ cd ${srcdir}/flappycoin-${_version}/
+
+ ${_qmake} -after "QMAKE_CXXFLAGS+=-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" ${_binname}-qt.pro
+
+ make ${MAKEFLAGS}
+}
+
+package() {
+ install -Dm644 ${_binname}.desktop ${pkgdir}/usr/share/applications/${_binname}.desktop
+
+ cd $srcdir/flappycoin-${_version}
+ mkdir -p -m 755 "${pkgdir}/usr/share/${_binname}-qt/"
+ install -Dm755 ${_binname}-qt "${pkgdir}/usr/bin/${_binname}-qt"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 src/qt/res/icons/bitcoin.png "${pkgdir}/usr/share/pixmaps/${_binname}.png"
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/flappycoin.desktop b/flappycoin.desktop
new file mode 100644
index 00000000000..1807213d9c6
--- /dev/null
+++ b/flappycoin.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=FlappyCoin
+Comment=FlappyCoin P2P Cryptocurrency
+Exec=/usr/bin/flappycoin-qt
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/flappycoin.png
+MimeType=x-scheme-handler/flappycoin;
+Categories=Network;Finance;P2P
diff --git a/flappycoin.install b/flappycoin.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/flappycoin.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}