synit/packaging/packages/synit-pid1/APKBUILD

37 lines
1.0 KiB
Plaintext

# Contributor: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
# Maintainer: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
pkgname=synit-pid1
pkgver=0.0.1
pkgrel=0
pkgdesc="synit pid 1 program"
url="https://synit.org/"
arch="all"
license="GPLv3"
depends="syndicate-server"
makedepends=""
source="
synit-pid1.aarch64
synit-pid1.armv7
synit-pid1.x86_64
"
builddir="$srcdir/"
options="!check"
# This allows us to stomple on /sbin/init, which is owned by the busybox package
replaces="busybox"
build() {
:
}
package() {
mkdir -p "$pkgdir/sbin"
cp -p synit-pid1.${CARCH} "$pkgdir/sbin/init"
}
sha512sums="
d2c1632f8d25d3250a039ceb0516677f3c314b6f0e8557df8858f4a7a372b0db58d897d393f1466003ab4fb067e37a7aba6a32e2f6c0e97abfb9a4cba29e657c synit-pid1.aarch64
30fb6de065a8db25e228decba469652be59ed3271603e17b53282b9e3836ad9f7dbbe6542d736c1f8cfb40ce0594d3d56e66a47f9d827ce38d49abed35f67380 synit-pid1.armv7
b532836e29ee601dc6f675bbcceaf83bbe37051bc690cf05989dc234eca4ef098d8a3714befd9d735dbef9ff496f06c54325bdb05c50d65fe1e1b31d9e5f5a19 synit-pid1.x86_64
"