mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - don't build with musl-gcc
|
|
|
|
pkgname=busybox
|
|
pkgver=1.29.3
|
|
pkgrel=1
|
|
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=('97648636e579462296478e0218e65e4bc1e9cd69089a3b1aeb810bff7621efb7'
|
|
'SKIP'
|
|
'858835074fd5bb22551f8aceb92581a1132650f75dfb18c0afdbd521a5a9dcfa')
|
|
|
|
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
|
|
}
|