blob: bf734f2f8e9420d33810081d25d8dc3bd28d3435 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
# Maintainer: groestlcoin <groestlcoin@gmail.com>
pkgbase=groestlcoin
pkgname=('groestlcoin-daemon' 'groestlcoin-cli' 'groestlcoin-qt' 'groestlcoin-tx' 'groestlcoin-wallet' 'groestlcoin-util')
pkgver=28.0
pkgrel=1
arch=('x86_64')
url="https://www.groestlcoin.org/groestlcoin-core-wallet/"
makedepends=(
boost
db5.3
gcc-libs
glibc
gmp
libevent
libminiupnpc.so
libsqlite3.so
libzmq.so
qrencode
qt5-base
qt5-tools
)
license=('MIT')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Groestlcoin/groestlcoin/releases/download/v$pkgver/groestlcoin-$pkgver.tar.gz"
"$pkgbase-$pkgver.SHA256SUMS::https://github.com/Groestlcoin/groestlcoin/releases/download/v$pkgver/SHA256SUMS"
"$pkgbase-$pkgver.SHA256SUMS.asc::https://github.com/Groestlcoin/groestlcoin/releases/download/v$pkgver/SHA256SUMS.asc"
"groestlcoin.sysusers"
"groestlcoin.tmpfiles"
"groestlcoin-qt.desktop"
"groestlcoin-qt.appdata.xml")
sha256sums=('4446c49916c6f2c45fcf609270318dc114e166d1c833bb7d0b51d12cb42acba6'
'bece6d22a79a9faf2dc836856ce124e7595642f1db091c800bb0792d17f4b327'
'SKIP'
'766f1732b72ee105aa4380ab9433bc6e7d957896e0f3d84eaf08202dc7c0fc85'
'3cc8b772cd5bde500d74ec45c870168834b93b3b69197a8b1aa809d8b9a69d4f'
'4dc7fe4ae360b2bbd2ffbebab8849417c31145adff2ecdcfbb3bb03835cd1cf7'
'87f9a2bc6c3a91f7fd9668d84e35e69bdaed221c7d4655d39b54561845424e21')
b2sums=('b6264dd3047678e11b8fc929acc7d9e9588a45c0eabc481f1135fb2b019512da89dcea5306780bb02c2a994fd718858498579a176e265dab30452cd9a47d9c87'
'0de0ad8fb579f2081d84f97fd06f86355e0c4f05b48ac6564b3751f0d1f332d780c38524471d4e7333e567bc4ceadc9e20f201b5267ed64aff90d0a05a82a1cd'
'SKIP'
'f6bfe677aea28c40794f3c37e48d908215543736c558ef9f3f7ada6cf1d9016200821903c6c676f4841092170cfa64ee8f03f697aea19ea82b78877f9167526b'
'ebf2151e205daeb14ab5260f204040dcb2bf9969d3e6be8c166abdb74f86ef92a05174cc97f2360c8044c81e8bdfd68a74bf1f114dce8b75e421b4184165a54f'
'3d0fc6a8f970f4415e577c687d154e08763b8ad9bab9018af2687ee940cf423b25624e3581b49e90112ba2a02e385747740f9b30b8dceb0f4c8d5f8f82096ab9'
'f08bc357fa34653a8d7588b6ce06fb4ff686d4f701bdbe15ca12648ed62bb6afbaf1680f77c340a291735a2f56086a061a2d671ab19b95d95803917c40ce6f9a')
validpgpkeys=(287AE4CA1187C68C08B49CB2D11BD4F33F1DB499)
changelog=Changelog
prepare() {
sha256sum -c --ignore-missing "$pkgbase-$pkgver.SHA256SUMS"
cd "$pkgbase-$pkgver"
autoreconf -fi
}
build() {
cd $pkgbase-$pkgver
#remove _FORTIFY_SOURCE from CXXFLAGS to prevent a duplicate definition warning as configure adds _FORTIFY_SOURCE itself
CXXFLAGS=${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=?/}
./configure --prefix=/usr --with-gui=qt5 BDB_LIBS="-ldb_cxx-5.3" BDB_CFLAGS="-I/usr/include/db5.3"
make
}
package_groestlcoin-qt() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - Qt"
depends=(
db5.3
gcc-libs
glibc
gmp
hicolor-icon-theme
libevent
libminiupnpc.so
libsqlite3.so
libzmq.so
qrencode
qt5-base
)
cd $pkgbase-$pkgver
install -Dm755 src/qt/groestlcoin-qt "$pkgdir"/usr/bin/groestlcoin-qt
install -Dm644 contrib/completions/fish/groestlcoin-qt.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoin-qt.1 \
"$pkgdir"/usr/share/man/man1/groestlcoin-qt.1
install -Dm644 ../groestlcoin-qt.desktop \
"$pkgdir"/usr/share/applications/groestlcoin-qt.desktop
install -Dm644 ../groestlcoin-qt.appdata.xml \
"$pkgdir"/usr/share/metainfo/groestlcoin-qt.appdata.xml
install -Dm644 src/qt/res/src/groestlcoin.svg \
"$pkgdir"/usr/share/icons/hicolor/scalable/apps/groestlcoin-qt.svg
for i in 16 32 64 128 256; do
install -Dm644 share/pixmaps/groestlcoin${i}.png \
"$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps/groestlcoin-qt.png
done
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
package_groestlcoin-daemon() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - daemon"
depends=(
db5.3
gcc-libs
glibc
gmp
libevent
libminiupnpc.so
libsqlite3.so
libzmq.so
)
backup=('etc/groestlcoin/groestlcoin.conf')
cd $pkgbase-$pkgver
install -Dm755 src/groestlcoind "$pkgdir"/usr/bin/groestlcoind
install -Dm644 contrib/completions/bash/groestlcoind.bash \
"$pkgdir/usr/share/bash-completion/completions/groestlcoind"
install -Dm644 contrib/completions/fish/groestlcoind.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoind.1 \
"$pkgdir"/usr/share/man/man1/groestlcoind.1
install -Dm644 contrib/init/groestlcoind.service \
"$pkgdir/usr/lib/systemd/system/groestlcoind.service"
install -Dm644 "$srcdir/groestlcoin.sysusers" \
"$pkgdir/usr/lib/sysusers.d/groestlcoin.conf"
install -Dm644 "$srcdir/groestlcoin.tmpfiles" \
"$pkgdir/usr/lib/tmpfiles.d/groestlcoin.conf"
install -Dm644 share/examples/groestlcoin.conf \
"$pkgdir/etc/groestlcoin/groestlcoin.conf"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
package_groestlcoin-cli() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - RPC client"
depends=(boost-libs libevent)
cd $pkgbase-$pkgver
install -Dm755 src/groestlcoin-cli "$pkgdir"/usr/bin/groestlcoin-cli
install -Dm644 contrib/completions/bash/groestlcoin-cli.bash \
"$pkgdir/usr/share/bash-completion/completions/groestlcoin-cli"
install -Dm644 contrib/completions/fish/groestlcoin-cli.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoin-cli.1 \
"$pkgdir"/usr/share/man/man1/groestlcoin-cli.1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
package_groestlcoin-tx() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - Transaction tool"
depends=(
db5.3
gcc-libs
glibc
libsqlite3.so
)
cd $pkgbase-$pkgver
install -Dm755 src/groestlcoin-tx "$pkgdir"/usr/bin/groestlcoin-tx
install -Dm644 contrib/completions/bash/groestlcoin-tx.bash \
"$pkgdir/usr/share/bash-completion/completions/groestlcoin-tx"
install -Dm644 contrib/completions/fish/groestlcoin-tx.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoin-tx.1 \
"$pkgdir"/usr/share/man/man1/groestlcoin-tx.1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
package_groestlcoin-wallet() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - Wallet tool"
depends=(
db5.3
gcc-libs
glibc
libsqlite3.so
)
cd $pkgbase-$pkgver
install -Dm755 src/groestlcoin-wallet "$pkgdir"/usr/bin/groestlcoin-wallet
install -Dm644 contrib/completions/fish/groestlcoin-wallet.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoin-wallet.1 \
"$pkgdir"/usr/share/man/man1/groestlcoin-wallet.1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
package_groestlcoin-util() {
pkgdesc="Groestlcoin is a peer-to-peer network based digital currency - Util tool"
depends=(
db5.3
gcc-libs
glibc
libsqlite3.so
)
cd $pkgbase-$pkgver
install -Dm755 src/groestlcoin-util "$pkgdir"/usr/bin/groestlcoin-util
install -Dm644 contrib/completions/fish/groestlcoin-util.fish \
-t "$pkgdir/usr/share/fish/vendor_completions.d/"
install -Dm644 doc/man/groestlcoin-util.1 \
"$pkgdir"/usr/share/man/man1/groestlcoin-util.1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|