diff --git a/pkg/de-p1st-sudo/PKGBUILD b/pkg/de-p1st-sudo/PKGBUILD new file mode 100644 index 0000000..e0e12f5 --- /dev/null +++ b/pkg/de-p1st-sudo/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Daniel Langbein +_pkgname=sudo +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="sudo with configuration" +arch=('any') +url="https://git.privacy1st.de/langfingaz/arch-pkg.git" +license=('MIT') +groups=() +depends=() +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+$url") +noextract=() +md5sums=() # autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en + +package() { + cd "pkg/$pkgname" + + install -Dm0644 wheel "$pkgdir"/etc/sudoers.d/wheel +} diff --git a/pkg/de-p1st-sudo/wheel b/pkg/de-p1st-sudo/wheel new file mode 100644 index 0000000..4d384be --- /dev/null +++ b/pkg/de-p1st-sudo/wheel @@ -0,0 +1,2 @@ +# All members of group wheel can use sudo +%wheel ALL=(ALL) ALL \ No newline at end of file