aboutsummaryrefslogblamecommitdiffstats
path: root/asroot/PKGBUILD
blob: 1c2093d86cdc86a83ca99d9f8d66ec59afe9ffc2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                
            


                                                
                                          
                      
                                                               
                                                                             

         
                       



                                       
                       


                                                    
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=asroot
pkgver=1.1.7
pkgrel=1
pkgdesc="A simpler alternative to sudo and doas"
arch=('x86_64')
url="https://codeberg.org/maandree/asroot"
license=('custom:ISC')
source=(asroot-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz)
sha256sums=(29fa6ed440f0c80e75174df4213c336f7dcd454d7f653ddc33f51f6343d4eec9)

build() {
  cd "${srcdir}/asroot"
  make DESTDIR="${pkgdir}/" PREFIX=/usr
}

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