aboutsummaryrefslogtreecommitdiffstats
path: root/orphan-reaper/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'orphan-reaper/PKGBUILD')
-rw-r--r--orphan-reaper/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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"
+}