# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=sudo
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgrel=3
pkgdesc="sudo with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('sudo')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

package() {
  cd "${_reponame}/pkg/${pkgname}"

  install -d0750       "$pkgdir"/etc/sudoers.d/
  install -m0644 wheel "$pkgdir"/etc/sudoers.d/wheel
}