summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b44d947a6251..cf18e1f557d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,40 @@
# Maintainer: metscoin <mets_coin@outlook.com>
+# shellcheck disable=SC2034
pkgname=raven-qt
-pkgver=2.0.4
+pkgver=2.0.4.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)
+depends=('openssl-1.0' 'boost-libs' 'libevent' 'db4.8' 'qt5-base' 'protobuf' )
+optdepends=('miniupnpc: Automatic UPnP port mapping' 'qrencode: For generating QR codes within the GUI' 'zeromq: Send notifications via zeromq')
makedepends=(boost qt5-tools)
+provides=('raven-qt' 'ravencoind' 'ravencoin-tx')
conflicts=(raven)
install=raven-qt.install
source=("${pkgname%-git}::git+http://github.com/RavenProject/Ravencoin.git#tag=v${pkgver}"
"$pkgname.desktop")
sha256sums=('SKIP'
'e318e3c5a9fbdbcf5836f9ceee76f4a73acdcb47c535cb7beb1c19937b8540df')
-
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname" || exit
find . -type f -iname "*.sh" -exec chmod +x {} \;
+ export PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig"
+ export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+ export LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl"
./autogen.sh
- ./configure --with-gui=qt5 --disable-tests
- make
+ ./configure --prefix=/usr --with-pic --disable-shared --enable-cxx \
+ --disable-bench --disable-tests
+ make ${MAKEFLAGS}
}
package() {
install -Dm644 raven-qt.desktop "$pkgdir"/usr/share/applications/raven.desktop
- cd "$srcdir/$pkgname"
- install -Dm755 src/qt/raven-qt "$pkgdir"/usr/bin/raven-qt
+ cd "$srcdir/$pkgname" || exit
install -Dm644 share/pixmaps/raven128.png "$pkgdir"/usr/share/pixmaps/raven128.png
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ make DESTDIR="${pkgdir}" install
}