diff options
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | resq-qt.desktop | 11 | ||||
-rw-r--r-- | resq-qt.install | 11 |
5 files changed, 97 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54eaf498bdce --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = resq-qt + pkgdesc = Cryptocurrency wallet(QT) + pkgver = 1.0.1.1 + pkgrel = 1 + url = https://ravencoin.org/ + install = resq-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 = resq + source = resq-qt::git+https://github.com/RESQ-Chain/resq-chain.git#tag=v1.0.1.1 + source = resq-qt.desktop + sha256sums = SKIP + sha256sums = 02008d8837e3e9200be5d87dc55f8396bae49a07ad614ee085712490ec67236a + +pkgname = resq-qt + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1e2b0c0734b7 --- /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 000000000000..768d006f2c37 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=resq-qt +pkgver=1.0.1.1 +pkgrel=1 +arch=('i686' 'x86_64') +url="https://ravencoin.org/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools) +conflicts=(resq) +install=resq-qt.install +source=("${pkgname%-git}::git+https://github.com/RESQ-Chain/resq-chain.git#tag=v${pkgver}" + "$pkgname.desktop") +sha256sums=('SKIP' + '02008d8837e3e9200be5d87dc55f8396bae49a07ad614ee085712490ec67236a') + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + chmod +x ./configure + ./configure --with-gui=qt5 --disable-tests + make +} + + +package() { + install -Dm644 resq-qt.desktop "$pkgdir"/usr/share/applications/resq.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/resq-qt "$pkgdir"/usr/bin/resq-qt + install -Dm644 share/pixmaps/resq128.png "$pkgdir"/usr/share/pixmaps/resq128.png + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/resq-qt.desktop b/resq-qt.desktop new file mode 100644 index 000000000000..ac2db017af5a --- /dev/null +++ b/resq-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=RESQChain +Comment=RESQChain P2P Cryptocurrency +Exec=/usr/bin/resq-qt +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/resq128.png +MimeType=x-scheme-handler/resq; +Categories=Office; +Name[en_US]=resq-qt.desktop diff --git a/resq-qt.install b/resq-qt.install new file mode 100644 index 000000000000..f98ba7338938 --- /dev/null +++ b/resq-qt.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |