aboutsummaryrefslogtreecommitdiffstats
path: root/main/run-parts/APKBUILD
blob: 8824f8783740ae083d3c9583f77b5ee74d389700 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=run-parts
_pkgname=debianutils
pkgver=4.8.6.1
pkgrel=0
pkgdesc="run-parts from the debianutils package"
url="https://packages.qa.debian.org/d/debianutils.html"
arch="all"
license="GPL"
depends=
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.xz"
builddir="$srcdir"/$_pkgname


build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd "$builddir"
	install -D -m755 run-parts $pkgdir/usr/bin/run-parts
	install -D -m644 run-parts.8 $pkgdir/usr/share/man/man8/run-parts.8
}
sha512sums="158f024311b3de292bd20df966c0f61285c748597101cee61e81883e0032c1e6a4baccb5c231b28f00ce3afc58a4aaedd64a65641351974c37fdb5f4952b0d2a  debianutils_4.8.6.1.tar.xz"