aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: bed344c3b99dd76c45e7004eef4cd7953f09aeb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                        
        





                                                                     
                                                                 
                             
                                    
                                                                             












                                                                       
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=orphan-reaper
pkgver=2
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=(bd03e7d103f865744818e7cbf14075ade2922e7610f53686323efe2fa40e72dd)


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