7c079a69fd
[ci:skip-vercheck]
25 lines
910 B
Text
25 lines
910 B
Text
pkgname=abuild-aarch64-qemu-workaround
|
|
pkgver=3.1.0
|
|
pkgrel=1
|
|
pkgdesc="Patched abuild-tar that works with QEMU"
|
|
url="https://gitlab.com/postmarketOS/pmbootstrap/issues/546"
|
|
arch="aarch64"
|
|
license="GPL2"
|
|
depends=""
|
|
install="$pkgname.post-install"
|
|
options="!check"
|
|
source="abuild-$pkgver.tar.gz::https://github.com/alpinelinux/abuild/archive/v$pkgver.tar.gz write-check-count.patch"
|
|
makedepends="openssl-dev"
|
|
|
|
builddir="$srcdir/abuild-$pkgver"
|
|
build() {
|
|
make VERSION="$pkgver-r$pkgrel" abuild-tar
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -Dm755 abuild-tar "$pkgdir"/usr/bin/abuild-tar-patched
|
|
}
|
|
|
|
sha512sums="fcdbef96b06a908148d6df41981fca19fe1767274b283efbb3f1adaefc074a4daa7b8eea8d49c533858c464e45b3954f97cd3d0185f0ed7e464244f9802001f5 abuild-3.1.0.tar.gz
|
|
f87443b9365da3a65d378ba86b0209d7efad4bd74666b9d9afbc2c2da1becc61f057943b8d5eddf730b658fd67f75040a57fc804f692e0f33fcb9eb4e57f47f3 write-check-count.patch"
|