summaryrefslogtreecommitdiff
path: root/opt/opendoas/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/opendoas/MAKEPKG')
-rw-r--r--opt/opendoas/MAKEPKG37
1 files changed, 37 insertions, 0 deletions
diff --git a/opt/opendoas/MAKEPKG b/opt/opendoas/MAKEPKG
new file mode 100644
index 0000000..c488366
--- /dev/null
+++ b/opt/opendoas/MAKEPKG
@@ -0,0 +1,37 @@
+#!/bin/mkpkg
+# description: Portable fork of OpenBSD doas command
+# url: https://github.com/Duncaen/OpenDoas
+
+name=opendoas
+version=6.8.2
+release=1
+source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/$name-$version.tar.xz
+ better-wayland-support.patch)
+sha256sums=(
+ "4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0"
+ "1d3958a8519b2e95c3cf4f7a09556e48fe06b3aaffcc85c5b676b51a4c7141eb"
+)
+
+patch() {
+ cd $name-$version
+ patch -p1 -i $SRC/better-wayland-support.patch
+}
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --without-pam \
+ --with-timestamp
+
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh