🎉 init

This commit is contained in:
JMARyA 2025-03-27 09:33:21 +01:00
commit 80e65e8a1a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 19 additions and 0 deletions

16
PKGBUILD Normal file
View file

@ -0,0 +1,16 @@
pkgname=sudoas
pkgver=1.0
pkgrel=1
pkgdesc="A compatibility wrapper to provide 'sudo' using 'doas'"
arch=('any')
depends=('doas')
provides=('sudo')
conflicts=('sudo')
replaces=('sudo')
source=()
sha256sums=()
package() {
install -Dm755 "../wrapper.sh" "${pkgdir}/usr/bin/sudo"
}

3
wrapper.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
exec /usr/bin/doas "$@"