mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
|
|
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - don't build with musl-gcc
|
|
|
|
pkgname=busybox
|
|
pkgver=1.30.1
|
|
pkgrel=4
|
|
pkgdesc="Utilities for rescue and embedded systems"
|
|
arch=("x86_64")
|
|
url="https://www.busybox.net"
|
|
license=('GPL')
|
|
makedepends=("ncurses")
|
|
validpgpkeys=('C9E9416F76E610DBD09D040F47B70C55ACC9965B')
|
|
source=("$url/downloads/$pkgname-$pkgver.tar.bz2"{,.sig}
|
|
"config")
|
|
sha256sums=('3d1d04a4dbd34048f4794815a5c48ebb9eb53c5277e09ffffc060323b95dfbdc'
|
|
'SKIP'
|
|
'e1deb1d6980cbe2e29663667b6b455af31b303499d049e07a88b6d2d52b8625f')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
cp "$srcdir"/config .config
|
|
# reproducible build
|
|
export KCONFIG_NOTIMESTAMP=1
|
|
make
|
|
}
|
|
|
|
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
|
|
for doc in BusyBox.html BusyBox.txt; do
|
|
install -Dm644 docs/$doc "$pkgdir"/usr/share/doc/$pkgname/$doc
|
|
done
|
|
}
|