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


                                                            
                                          
                      


                                                             
                                                                             

         
                       
                  

 
         
                       

            

           
                       
                                            
 
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>
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
}