blob: 36cd5dc312fc7d6c5f9f2cdbfdf6d2a9abd64552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Allison Smith <alyway@protonmail.com>
# Contributor: Jordan Day (FryDay) < jordanday444 at gmail dot com>
# Contributor: metscoin <mets_coin@outlook.com>
# shellcheck disable=SC2034
pkgname=raven-qt
pkgver=4.6.1
pkgrel=2
arch=('i686' 'x86_64')
url="https://ravencoin.org/"
license=('MIT')
pkgdesc="Ravencoin Core Cryptocurrency Wallet (QT)"
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 git)
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"
"stdexcept.patch")
sha256sums=('SKIP'
'e318e3c5a9fbdbcf5836f9ceee76f4a73acdcb47c535cb7beb1c19937b8540df'
'680b5acec4584c7bea47d680583e38f9082a97223d0e9d627c76afb754a688f1')
prepare() {
cd "$srcdir/$pkgname"
patch --strip=1 --input ../stdexcept.patch
}
build() {
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 --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" || 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
}
|