# Maintainer: André Klitzing # Contributor: André Klitzing pkgname=toybox pkgver=0.8.1 pkgrel=0 pkgdesc="A BSD-licensed alternative to busybox" arch="all" license="BSD" url="https://landley.net/toybox/" depends="attr" makedepends="bash linux-headers" subpackages="$pkgname-doc" source="https://landley.net/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz" build() { scripts/genconfig.sh make defconfig make } check() { make test } package() { #chmod 755 toybox #make PREFIX="$pkgdir" install install -Dm755 toybox "$pkgdir"/bin/toybox install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="22f91046c75f986e44927ec89feab6c6afa1f614e5b0eae73e43f6ccd5c4328991ad283858fb1a5cb4d697806f38b8ab81782c160860a2c34ecbef3885636d5e toybox-0.8.1.tar.gz"