blob: d72dc9684e34ee6eafbfdacee06ac7884415232c (
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
|
# Maintainer: robertfoster
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
pkgname=qemu-arm-static
pkgver=5.0.0r2
_pkgver=${pkgver/r/-r}
pkgrel=1
pkgdesc='Statically linked qemu-arm, qemu-armeb and qemu-aarch64 executables from Alpine'
arch=(x86_64)
url='https://alpinelinux.org/'
license=(GPL2)
install=$pkgname.install
source=("https://alpine.global.ssl.fastly.net/alpine/edge/community/x86_64/qemu-aarch64-$_pkgver.apk"
"https://alpine.global.ssl.fastly.net/alpine/edge/community/x86_64/qemu-arm-$_pkgver.apk"
"https://alpine.global.ssl.fastly.net/alpine/edge/community/x86_64/qemu-armeb-$_pkgver.apk"
aarch64.binfmt arm.binfmt armeb.binfmt
)
package() {
for arch in aarch64 arm armeb; do
install -Dm755 usr/bin/qemu-"$arch" "$pkgdir/usr/bin/qemu-${arch}-static"
install -Dm644 "${arch}".binfmt "$pkgdir/usr/lib/binfmt.d/${arch}.conf"
done
}
md5sums=('354059403e09879214cbedccd1c2cbf1'
'ce05326345a8123882017bc2e25f7cf9'
'f07b90a3e9f762e68c7080547f3acf99'
'11c56ac5b0463055b7e3bc1216fe639e'
'990e3e260665c1da56b5b1c71f480664'
'89569b9c545af650dfeab24d4f8bb677')
|