arch/pkg/de-p1st-sudo/PKGBUILD

32 lines
597 B
Bash

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=sudo
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgrel=1
pkgdesc="sudo with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
groups=()
depends=('sudo')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -dm0750 "$pkgdir"/etc/sudoers.d/
install -m0644 wheel "$pkgdir"/etc/sudoers.d/wheel
}