From 9cb397e3ca21214e2802509910d252877ce29662 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Oct 2017 18:26:30 +0200 Subject: Add orphan-reaper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- orphan-reaper/PKGBUILD | 28 ++++++++++++++++++++++++++++ orphan-reaper/upload | 1 + 2 files changed, 29 insertions(+) create mode 100644 orphan-reaper/PKGBUILD create mode 120000 orphan-reaper/upload diff --git a/orphan-reaper/PKGBUILD b/orphan-reaper/PKGBUILD new file mode 100644 index 0000000..41da460 --- /dev/null +++ b/orphan-reaper/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=orphan-reaper +pkgver=2.3 +pkgrel=1 +pkgdesc="Place subreapers in your process tree to keep it structured" +arch=(i686 x86_64) +url="https://github.com/maandree/orphan-reaper" +license=('custom:ISC') +depends=('linux>=3.4') +source=($url/archive/$pkgver.tar.gz) +sha256sums=(5916c0bb0b90bcf4bd99f273c9a5abd33714e870aeff0be793635d26f1089886) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr LIBEXEC=/lib/orphan-reaper +} + + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr LIBEXEC=/lib/orphan-reaper install DESTDIR="$pkgdir" +} diff --git a/orphan-reaper/upload b/orphan-reaper/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/orphan-reaper/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2