aboutsummaryrefslogblamecommitdiffstats
path: root/asroot/PKGBUILD
blob: ebc15397e9092887cd907292725cc970bdd6fcd1 (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.2
pkgrel=1
pkgdesc="A simpler alternative to sudo and doas"
arch=('x86_64')
url="https://github.com/maandree/asroot"
license=('custom:ISC')
source=(asroot-$pkgver.tar.gz::https://github.com/maandree/asroot/archive/${pkgver}.tar.gz)
sha256sums=(39995b9742980b10e56f052eeead53871aef375e4f173dd61269a7eeeab64627)

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

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