summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUltracoolguy2020-06-20 17:30:17 -0400
committerUltracoolguy2020-06-20 17:30:17 -0400
commit2348388ae279782bc4b475865ead2a1b3c36236a (patch)
tree21c82bc0eec1074d845817fc918be6c2eff35aa5
downloadaur-2348388ae279782bc4b475865ead2a1b3c36236a.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD17
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6bb01046b51
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = opendoas-sudo
+ pkgdesc = A symlink for using Doas as a drop-in replacement to sudo, heavily copy-pasted from rofi-dmenu
+ pkgver = 1
+ pkgrel = 1
+ url = https://davedavenport.github.io/rofi/
+ arch = any
+ license = MIT
+ depends = opendoas
+ provides = sudo
+ conflicts = sudo
+
+pkgname = opendoas-sudo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c6a5e7bec52
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: foo bar
+# Maintainer: Ultracoolguy <dummyd241 at gmaildotcom>
+pkgname=opendoas-sudo
+pkgver=1
+pkgrel=1
+pkgdesc="A symlink for using Doas as a drop-in replacement to sudo, heavily copy-pasted from rofi-dmenu"
+arch=('any')
+url="https://davedavenport.github.io/rofi/"
+license=('MIT')
+depends=('opendoas')
+provides=('sudo')
+conflicts=('sudo')
+
+package() {
+ install -d "$pkgdir"/usr/bin
+ ln -s $(which doas) "$pkgdir"/usr/bin/sudo
+}