summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bc6ff6ddd3e1f83576acd6163a96ac9e51545bd (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
# Maintainer: Westly Ward <sonicrules1234 at gmail dot com>
pkgname=magiwallet-magid-ruckard-raspi4
pkgver=1.4.7.2
pkgrel=1
epoch=
pkgdesc="Updated magi wallet that builds on modern systems by ruckard.  For raspi4."
arch=('aarch64')
url="https://github.com/ruckard/magi/tree/1.4.7.2"
license=('MIT')
groups=()
depends=('db' 'boost' 'openssl' 'gmp' 'miniupnpc')
makedepends=()
checkdepends=()
optdepends=()
provides=("magid")
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/ruckard/magi/archive/refs/tags/v1.4.7.2.tar.gz")
noextract=()
sha256sums=("c2cd773340adec2e988de11606ff2118f7ee79109d33ad5bced5f98bbaba8424")
#md5sums=()
validpgpkeys=()

prepare() {
	cd "magi-1.4.7.2"
}

build() {
	cd "magi-1.4.7.2/src"
	make -f makefile.unix xCPUARCH=aarch64 -j3
}

package() {
	cd "magi-1.4.7.2"
	install -Dm775 "src/magid" "${pkgdir}/usr/bin/magid"
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}