summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73b837c19eea4f3fb9c63e7f24c3146db391eee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>

pkgname=doas-sudo-shim
pkgver=0.1.1
pkgrel=3
pkgdesc="A shim for the sudo command that utilizes doas"
arch=(any)
url="https://github.com/jirutka/doas-sudo-shim"
license=(ISC)
provides=(sudo)
conflicts=(sudo)
depends=(awk doas sh)
makedepends=(asciidoctor)
source=("$pkgname-$pkgver.tar.gz::https://github.com/jirutka/doas-sudo-shim/archive/v$pkgver.tar.gz")
sha256sums=('795762a05ecf016d5dc5f1392b447d324380320bc913826b9ccc10ed0cefe43d')

build() {
  cd $pkgname-$pkgver
  make man
}

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