19 lines
494 B
Bash
19 lines
494 B
Bash
|
# Original author: Ultracoolguy <dummyd241 at gmaildotcom>
|
||
|
# Quick thanks to deuill, creator of rofi-dmenu
|
||
|
# The AUR didn't want this package, so I'm adding it here
|
||
|
pkgname=opendoas-sudo
|
||
|
pkgver=1
|
||
|
pkgrel=1
|
||
|
pkgdesc="A symlink for using Doas as a drop-in replacement for sudo"
|
||
|
arch=('any')
|
||
|
url="https://github.com/Duncaen/OpenDoas"
|
||
|
license=('MIT')
|
||
|
depends=('opendoas')
|
||
|
provides=('sudo')
|
||
|
conflicts=('sudo')
|
||
|
|
||
|
package() {
|
||
|
install -d "$pkgdir"/usr/bin
|
||
|
ln -s $(which doas) "$pkgdir"/usr/bin/sudo
|
||
|
}
|