2015-03-15 16:55:07 +00:00
|
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
2019-01-25 01:47:22 +00:00
|
|
|
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
|
2015-03-15 16:55:07 +00:00
|
|
|
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - don't build with musl-gcc
|
|
|
|
|
|
|
|
pkgname=busybox
|
2019-10-27 18:50:37 +00:00
|
|
|
pkgver=1.31.1
|
|
|
|
pkgrel=1
|
2015-03-15 16:55:07 +00:00
|
|
|
pkgdesc="Utilities for rescue and embedded systems"
|
2018-02-19 16:13:06 +00:00
|
|
|
arch=("x86_64")
|
2017-01-05 14:34:24 +00:00
|
|
|
url="https://www.busybox.net"
|
2015-03-15 16:55:07 +00:00
|
|
|
license=('GPL')
|
2018-05-23 00:00:17 +00:00
|
|
|
makedepends=("ncurses")
|
2018-09-11 18:05:20 +00:00
|
|
|
validpgpkeys=('C9E9416F76E610DBD09D040F47B70C55ACC9965B')
|
2018-07-30 00:38:26 +00:00
|
|
|
source=("$url/downloads/$pkgname-$pkgver.tar.bz2"{,.sig}
|
2018-05-23 00:00:17 +00:00
|
|
|
"config")
|
2019-10-27 18:50:37 +00:00
|
|
|
sha256sums=('d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998'
|
2018-07-30 00:38:26 +00:00
|
|
|
'SKIP'
|
2019-10-27 18:50:37 +00:00
|
|
|
'3fc329e671bcff93b976ed9f6ca47eaa53468811eccae2ad50ca50611d37004e')
|
|
|
|
b2sums=('95c2345bc715eb7a1f08816a40add9b7a6176ef509a84069343ec2caddec58d8d57a07676ca2b03c209734169321433e27ba963b4c8b98dbfda4e409dcc347b4'
|
|
|
|
'SKIP'
|
|
|
|
'de6cfe15b2c1c18e049f64f4ad67447f5db80076eb7fed83b09b7014dbd1ce55f0b382bedcfaecbcd205c3366d045cde1db7e2d7046715446f76466fd9ea6b7b')
|
2015-03-15 16:55:07 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2018-05-23 00:00:17 +00:00
|
|
|
|
2017-01-05 14:34:24 +00:00
|
|
|
cp "$srcdir"/config .config
|
2018-05-04 01:37:14 +00:00
|
|
|
# reproducible build
|
|
|
|
export KCONFIG_NOTIMESTAMP=1
|
2015-03-15 16:55:07 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2018-05-23 00:00:17 +00:00
|
|
|
|
|
|
|
install -Dm0755 busybox "$pkgdir"/usr/bin/busybox
|
|
|
|
|
|
|
|
# docs
|
2017-01-05 14:34:24 +00:00
|
|
|
install -Dm644 docs/busybox.1 "$pkgdir"/usr/share/man/man1/busybox.1
|
2016-08-15 12:24:59 +00:00
|
|
|
for doc in BusyBox.html BusyBox.txt; do
|
2017-01-05 14:34:24 +00:00
|
|
|
install -Dm644 docs/$doc "$pkgdir"/usr/share/doc/$pkgname/$doc
|
2016-08-15 12:24:59 +00:00
|
|
|
done
|
2015-03-15 16:55:07 +00:00
|
|
|
}
|