blob: 9d6b715d4a61c06b50564e0d62fd3f5d23a7d1e4 (
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
|
# Maintainer: Danilo Bürger <danilo@feastr.de>
pkgname=tini
pkgver=0.8.4
pkgrel=0
pkgdesc="A tiny but valid init for containers"
url="https://github.com/krallin/tini"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev cmake"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/krallin/tini/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
export CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37"
cmake . || return 1
make || return 1
}
package() {
cd "$_builddir"
install -D -m755 tini "$pkgdir"/usr/bin/tini || return 1
}
md5sums="2351103dd4934d929491f92f429231f1 tini-0.8.4.tar.gz"
sha256sums="77a0d9fc2b95c11b4d6eadca5c036f8fba2469a61e25c43244ce9301ad9a27c6 tini-0.8.4.tar.gz"
sha512sums="ead67d04bec54972df83a6f2653bda4033423d6a981ca14086a62a5bb87a9f8700af955bbc9f2407a60b44f774e532ccf5f731903a15bb193102364ed5cea6ac tini-0.8.4.tar.gz"
|