aboutsummaryrefslogblamecommitdiffstats
path: root/pdeath/PKGBUILD
blob: f434419de726b2cb7208b8a55b1e22ce8457fd57 (plain) (tree)
1
2
3
4
5
6
7
8
                                                             
              
            


                                                            
                                          
                      


                                                             
                                                                             

         
                       
                  

 
         
                       

            

           
                       
                                            
 
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
pkgname=pdeath
pkgver=1.1.1
pkgrel=1
pkgdesc="Run a command that is killed when its parent exits"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/pdeath"
license=('custom:ISC')
depends=('linux>=2.1.57')
makedepends=('linux>=2.1.57')
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(35b3e0e2497f564cb57bb8c44c38da5e25c7d4784f3893237ddec7c6ad384010)

build() {
  cd "$srcdir/$pkgname"
  make PREFIX=/usr
}

check() {
  cd "$srcdir/$pkgname"
  make check
}

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