mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add 'sudo' pkg
This commit is contained in:
parent
2f2f598468
commit
9b17b0501f
29
pkg/de-p1st-sudo/PKGBUILD
Normal file
29
pkg/de-p1st-sudo/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||
_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
|
||||
}
|
2
pkg/de-p1st-sudo/wheel
Normal file
2
pkg/de-p1st-sudo/wheel
Normal file
@ -0,0 +1,2 @@
|
||||
# All members of group wheel can use sudo
|
||||
%wheel ALL=(ALL) ALL
|
Loading…
Reference in New Issue
Block a user