mirror of
https://github.com/endeavouros-team/PKGBUILDS.git
synced 2026-06-13 01:34:36 +00:00
[qemu-arm-aarch64-static-bin] Add new PKGBUILD
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
pkgbase = qemu-arm-static-bin
|
||||
pkgdesc = Statically linked qemu-arm, qemu-armeb and qemu-aarch64 executables from Alpine
|
||||
pkgver = 7.1.0r2
|
||||
pkgrel = 1
|
||||
url = https://alpinelinux.org/
|
||||
install = qemu-arm-static-bin.install
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
provides = qemu-arm-static
|
||||
conflicts = qemu-arm-static
|
||||
source = https://alpine.global.ssl.fastly.net/alpine/edge/community/x86_64/qemu-aarch64-7.1.0-r2.apk
|
||||
source = aarch64.binfmt
|
||||
sha256sums = fd95406bac31fde48572aa707943e331bd47b4214e5493f37c7dbf26d20e2f6b
|
||||
sha256sums = 234e4d432d03324c44c33b12b7e047ff8bb52e86002ea68029c9ec57057fac19
|
||||
|
||||
pkgname = qemu-arm-static-bin
|
||||
@@ -0,0 +1,33 @@
|
||||
# Maintainer : Sravan Pannala <sradjoker@endeavouros.com>
|
||||
# Contributor : Johannes Kamprad <joekamprad@endeavouros.com>
|
||||
# Contributor : robertfoster
|
||||
# Contributor : Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
|
||||
pkgname=qemu-arm-aarch64-static-bin
|
||||
pkgver=7.1.0r3
|
||||
_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"
|
||||
provides=('qemu-arm-static')
|
||||
conflicts=('qemu-arm-static')
|
||||
source=("https://alpine.global.ssl.fastly.net/alpine/edge/community/x86_64/qemu-aarch64-${_pkgver}.apk"
|
||||
aarch64.binfmt
|
||||
qemu-arm-aarch64-static-bin.install
|
||||
)
|
||||
|
||||
package() {
|
||||
for arch in aarch64; 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
|
||||
}
|
||||
|
||||
sha256sums=('dcc2340e1e101a507db5ee2c73966a480c96bf0a5b56adac06ef5b91cc5641f5'
|
||||
'234e4d432d03324c44c33b12b7e047ff8bb52e86002ea68029c9ec57057fac19'
|
||||
'93df4832057e2a566c4b35f2ad767780e7a117a4d3b73f469826a75ccda50ab3')
|
||||
@@ -0,0 +1 @@
|
||||
:aarch64:M:0:\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-static:OCF
|
||||
@@ -0,0 +1,3 @@
|
||||
post_install() {
|
||||
/usr/lib/systemd/systemd-binfmt
|
||||
}
|
||||
Reference in New Issue
Block a user