aboutsummaryrefslogtreecommitdiffstats
path: root/pdeath/PKGBUILD
blob: 431bddff6157da936a9e9dd2e73b42f675ea8b03 (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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=pdeath
pkgver=1.0
pkgrel=1
pkgdesc="Run a command that is killed when its parent exits"
arch=(i686 x86_64)
url="https://github.com/maandree/pdeath"
license=('custom:ISC')
depends=(glibc 'linux>=2.1.57')
makedepends=(glibc 'linux>=2.1.57' make coreutils gcc)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(e9066459fe4af6e6607f45dc119d1c0030893bfdc5b37e753e952678be468250)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install DESTDIR="$pkgdir"
}