aboutsummaryrefslogtreecommitdiffstats
path: root/pdeath
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-17 21:34:25 +0200
committerMattias Andrée <maandree@kth.se>2017-10-17 21:34:25 +0200
commited71d2789fbca2cbd4cacb51786356fa6252e084 (patch)
tree4335e5557b17fb7734e32f6c91a6f0c9d46b5adc /pdeath
parentm (diff)
downloadaur-packages-ed71d2789fbca2cbd4cacb51786356fa6252e084.tar.gz
aur-packages-ed71d2789fbca2cbd4cacb51786356fa6252e084.tar.bz2
aur-packages-ed71d2789fbca2cbd4cacb51786356fa6252e084.tar.xz
Update pdeath
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--pdeath/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/pdeath/PKGBUILD b/pdeath/PKGBUILD
index 431bddf..de7b994 100644
--- a/pdeath/PKGBUILD
+++ b/pdeath/PKGBUILD
@@ -1,26 +1,27 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
-
pkgname=pdeath
-pkgver=1.0
+pkgver=1.1
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)
-
+depends=('linux>=2.1.57')
+makedepends=('linux>=2.1.57')
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(1b236d9768d972611ca4a41c247a8953028e6f80e637b26e7b1086b10989b3d8)
build() {
cd "$srcdir/$pkgname-$pkgver"
- make
+ make PREFIX=/usr
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make install DESTDIR="$pkgdir"
+ make install PREFIX=/usr DESTDIR="$pkgdir"
}
-