aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toybox/APKBUILD
blob: db68dc14bcf741caa5050d3ff5009aaa157e893f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: André Klitzing <aklitzing@gmail.com>
# Contributor: André Klitzing <aklitzing@gmail.com>
pkgname=toybox
pkgver=0.8.6
pkgrel=0
pkgdesc="A BSD-licensed alternative to busybox"
arch="all"
license="0BSD"
url="https://landley.net/toybox/"
depends="attr"
makedepends="bash linux-headers"
source="https://landley.net/toybox/downloads/toybox-$pkgver.tar.gz"

build() {
	scripts/genconfig.sh
	make defconfig
	make
}

check() {
	make test
}

package() {
	install -Dm755 toybox "$pkgdir"/bin/toybox
}

sha512sums="
2d8f9cc3a6bd7ee5bd4bce77399916aa90cd8acb90448f4e1b79c605c7f854c19016f5eb3704f112855c8347e69f0f4dc42f9755dd2ec975ac7799d00bc597be  toybox-0.8.6.tar.gz
"