aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 843eeaf3834d9888298ad169259f5025d5783453 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=orphan-reaper
pkgver=2.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 texinfo auto-auto-complete)
install=orphan-reaper.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(916748575fa6d675cd6631d35afc1407a17fd4635de7a8f2e1f4109b78045409)


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"
}