#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=busybox pkgver=1.36.1 pkgrel=02 pkgdesc="Utilities for rescue and embedded systems" url="https://www.busybox.net" makedepends=("ncurses" "musl" "kernel-headers-musl") source=("$url/downloads/$pkgname-$pkgver.tar.bz2"{,.sig} "config") build() { cd "$srcdir/$pkgname-$pkgver" cp "$srcdir"/config .config # reproducible build export KCONFIG_NOTIMESTAMP=1 make CC=musl-gcc } package() { cd "$srcdir/$pkgname-$pkgver" install -Dm0755 busybox "$pkgdir"/usr/bin/busybox # docs install -Dm644 docs/busybox.1 "$pkgdir"/usr/share/man/man1/busybox.1 install -dm0755 "$pkgdir"/usr/share/doc/$pkgname cp -a examples "$pkgdir"/usr/share/doc/$pkgname/ for doc in BusyBox.html BusyBox.txt; do install -Dm644 docs/$doc "$pkgdir"/usr/share/doc/$pkgname/$doc done } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('GPL') validpgpkeys=('C9E9416F76E610DBD09D040F47B70C55ACC9965B') sha256sums=(b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 # busybox-1.36.1.tar.bz2 7b1dc3e59fa767c0e0b216ffacb070b3587607655dfa0336ccf41a48ae32c3c1 # busybox-1.36.1.tar.bz2.sig 82e934fbdf143028ffb19b195e34c2171dd3b2c17d1c5e37499068ade4d5b28f) # config ## cccf2aee9affbfc0d322dabd534bb2bdc3007ceaf0d4987fa928e99a07eeefed busybox-1.36.1-02-x86_64.pkg.tar.lz