summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6996739fde32c7e1419e44c5e7160b382e908134 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Maintainer: Emma Tebibyte <emma@tebibyte.media>

_pkgbase="busybox"
pkgname="$_pkgbase-coreutils"
pkgver=1.36.0
pkgrel=4
pkgdesc="POSIX-compliant utility applets from BusyBox."
arch=('any')
url="https://busybox.net/"
license=('GPL')
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=(
	'awk'
	'bash'
	'busybox'
	'coreutils'
	'e2fsprogs'
	'findutils'
	'inetutils'
	'iputils'
	'kbd'
	'kmod'
	'gawk'
	'grep'
	'gzip'
	'iproute2'
	'procps-ng'
	'sed'
	'sh'
	'tar'
	'util-linux'
	'vi'
	'which'
)
conflicts=(
	'awk'
	'bash'
	'busybox'
	'coreutils'
	'e2fsprogs'
	'findutils'
	'inetutils'
	'iputils'
	'kbd'
	'kmod'
	'gawk'
	'grep'
	'gzip'
	'iproute2'
	'procps-ng'
	'sed'
	'tar'
	'util-linux'
	'vi'
	'which'
)
source=(
	"https://busybox.net/downloads/$_pkgbase-$pkgver.tar.bz2"
	".config"
)
sha256sums=(
  "542750c8af7cb2630e201780b4f99f3dcceeb06f505b479ec68241c1e6af61a5"
  "8f0dacf0e79c5ce71f42bdc04e342a5bcfe11511ad2762a8876fd136e920b856"
)

prepare() {
	cp .config "$_pkgbase-$pkgver/.config"
}

build() {
	cd "$_pkgbase-$pkgver"
  make install
}

package() {
	cp -r "$srcdir/$_pkgbase-$pkgver/_install/bin/" "$pkgdir/"
	cp -r "$srcdir/$_pkgbase-$pkgver/_install/sbin/" "$pkgdir/"
}