From 46012a5018dd3b928c47797c7ac8766fc6e91036 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Sat, 11 Feb 2023 21:45:43 -0500 Subject: [PATCH] nyxt: update to 3-pre-release-3 --- nyxt/.signature | 8 ++++---- nyxt/.watch | 5 +++++ nyxt/Pkgfile | 4 ++-- nyxt/vi-keybindings.patch | 14 ++++++++++++++ 4 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 nyxt/.watch create mode 100644 nyxt/vi-keybindings.patch diff --git a/nyxt/.signature b/nyxt/.signature index 71c260e..41b7f83 100644 --- a/nyxt/.signature +++ b/nyxt/.signature @@ -1,6 +1,6 @@ -untrusted comment: verify with /etc/ports/jmq.pub -RWTTPlFarK9CxL4oUGXE/t/e5duafsrh+M+cy61QBPr+OJlJejpKRli/CwpJLd7V7y8FJLvZFqMDp3ZcKiOsPZtJu0dYN4SfLQc= -SHA256 (Pkgfile) = 869090dbb818cf575575210c4408c7249f8995e03f4cfb0ebad8b6d96e099876 +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37JKe01tJuzfD6Gaju0S2blXvno3pTfWx3H/tAR508GwSZv1oHMPkmIKmyjkfqGsCplsui/DYAvfy9lEEqQyMwQ= +SHA256 (Pkgfile) = 03c104fd14533fa2c7c74de24357e320ca52aeff9883b715fccfbc23db8d9b7a SHA256 (.footprint) = 8c911fda8f25863dd40d018b65a740bde0b8677cb13b5b3dcf36dbcd155b405e -SHA256 (nyxt-3-pre-release-2-source-with-submodules.tar.xz) = dd706e95f6955d871afea6e2967d33b61502d4333689a7e01de36eeacfdd58a8 +SHA256 (nyxt-3-pre-release-3-source-with-submodules.tar.xz) = f5f13c78ed89aa41813c702b8ee04597e976b8d1c3a78ac7c8f6b706e11b8cda SHA256 (vi-keybindings.patch) = 79083876249776adad59a5733943e1838fbf292e002fa6a1598cb757f7388a7a diff --git a/nyxt/.watch b/nyxt/.watch new file mode 100644 index 0000000..73ad598 --- /dev/null +++ b/nyxt/.watch @@ -0,0 +1,5 @@ +#!/bin/sh + +curl -s "https://github.com/atlas-engineer/nyxt/releases" \ + | awk '/

(.+)<.*/,"\\1",1); print;}' \ + | head -n 1 diff --git a/nyxt/Pkgfile b/nyxt/Pkgfile index 804a01d..98eb842 100644 --- a/nyxt/Pkgfile +++ b/nyxt/Pkgfile @@ -5,7 +5,7 @@ # Nice to have: xclip enchant name=nyxt -version=3-pre-release-2 +version=3-pre-release-3 release=1 source=(https://github.com/atlas-engineer/nyxt/releases/download/$version/$name-$version-source-with-submodules.tar.xz vi-keybindings.patch) @@ -18,5 +18,5 @@ build() { make PREFIX=/usr DESTDIR=$PKG install # clean up footprint - find $PKG -name "README*" -exec rm -f '{}' + + find $PKG -name "README*" -delete } diff --git a/nyxt/vi-keybindings.patch b/nyxt/vi-keybindings.patch new file mode 100644 index 0000000..2894be1 --- /dev/null +++ b/nyxt/vi-keybindings.patch @@ -0,0 +1,14 @@ +--- base.lisp 2022-09-19 08:05:47.000000000 -0000 ++++ base.lisp 2022-10-25 09:01:09.162395453 -0000 +@@ -101,8 +101,9 @@ This mode is a good candidate to be pass + "C-x C-c" 'quit) + keyscheme:vi-normal + (list +- "o" 'set-url +- "O" 'set-url-new-buffer ++ "O" 'set-url ++ "o" 'set-url-new-buffer ++ "y f" 'nyxt/hint-mode:copy-hint-url + "g o" 'set-url-new-nosave-buffer + "R" 'reload-current-buffer + "r" 'reload-buffers