From dcb1ee0c315ca09c0fa1bf8aa0f5cf0d62f13b4e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 30 Sep 2016 13:42:39 +0200 Subject: Add pdeath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- pdeath/PKGBUILD | 26 ++++++++++++++++++++++++++ pdeath/upload | 1 + 2 files changed, 27 insertions(+) create mode 100644 pdeath/PKGBUILD create mode 120000 pdeath/upload diff --git a/pdeath/PKGBUILD b/pdeath/PKGBUILD new file mode 100644 index 0000000..431bddf --- /dev/null +++ b/pdeath/PKGBUILD @@ -0,0 +1,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" +} + diff --git a/pdeath/upload b/pdeath/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/pdeath/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2