aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-23 16:24:06 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-23 16:24:06 +0200
commit18435aa363992ea90043bb0a2063eccc383567df (patch)
tree8131fcbb5e4f3a67a4ab5dfef45f986bc951bf5b
parentm + rename the command orphan-reaper and exec to reapd (diff)
downloadorphan-reaper-18435aa363992ea90043bb0a2063eccc383567df.tar.gz
orphan-reaper-18435aa363992ea90043bb0a2063eccc383567df.tar.bz2
orphan-reaper-18435aa363992ea90043bb0a2063eccc383567df.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD26
2 files changed, 32 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..42eb16a
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,6 @@
+*
+!/.git*
+*~
+!/PKGBUILD
+!/orphan-reaper.install
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..5d3f772
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=orphan-reaper
+pkgver=1
+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=('GPL3')
+depends=(glibc 'linux>=3.4')
+makedepends=(glibc gcc make coreutils)
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(63c4f50272e5faf325dd4931977a5216afb5493e66609096198bd5032d42060d)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr LIBEXEC=/lib/orphan-reaper
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr LIBEXEC=/lib/orphan-reaper install DESTDIR="$pkgdir"
+}
+