packaging/chocolatey/sbm.nuspec (3505 bytes)
1 <?xml version="1.0" encoding="utf-8"?> 2 <package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd"> 3 <metadata> 4 <id>sbm</id> 5 <version>0.3</version> 6 <packageSourceUrl>https://github.com/equwal/sbm/tree/master/packaging/chocolatey</packageSourceUrl> 7 <owners>equwal</owners> 8 <title>sbm (bookmark manager)</title> 9 <authors>Spenser Truex</authors> 10 <projectUrl>https://github.com/equwal/sbm</projectUrl> 11 <!-- 12 Upstream has not chosen a licence yet and the repository has no LICENSE 13 file. licenseUrl must parse as a URL or "choco pack" refuses the 14 package outright (CHCU0001), so the placeholder token is carried in the 15 path instead of standing alone. The URL below does not resolve. 16 Replace SBM_LICENSE_TBD with the real file name, for example 17 https://github.com/equwal/sbm/blob/master/LICENSE 18 --> 19 <licenseUrl>https://github.com/equwal/sbm/blob/master/SBM_LICENSE_TBD</licenseUrl> 20 <requireLicenseAcceptance>false</requireLicenseAcceptance> 21 <projectSourceUrl>https://github.com/equwal/sbm</projectSourceUrl> 22 <docsUrl>https://github.com/equwal/sbm/blob/master/README</docsUrl> 23 <bugTrackerUrl>https://github.com/equwal/sbm/issues</bugTrackerUrl> 24 <tags>sbm bookmarks bookmark-manager fzf posix shell cli suckless</tags> 25 <summary>Bookmark manager made of POSIX sh scripts, driven by fzf</summary> 26 <description><![CDATA[ 27 sbm keeps bookmarks in one tab separated file: URL, description, tags. 28 `bm` picks one from a menu and opens it, copies it, edits it or deletes it. 29 Text that is no bookmark is opened as an address or searched for on the web. 30 31 The other programs are small filters over bookmark lines: `bm-import`, 32 `bm-check`, `bm-html`, `bm-migrate`, `bm-title` and `bm-commit`. 33 34 ### What this package does 35 36 sbm is POSIX shell. This package does not port it to PowerShell. It installs 37 the scripts and generates `.cmd` shims that run them through the `sh.exe` that 38 comes with Git for Windows, which is why `git` is a dependency. 39 40 ### What works on Windows 41 42 * The menu is **fzf**. `bm` picks fzf when there is no X11 or Wayland 43 display, which is always the case here. 44 * Clipboard: the shims default `SBM_COPY` to `clip` and `SBM_PASTE` to 45 `powershell -NoProfile -Command Get-Clipboard` when you have not set them. 46 * Opening URLs: set `SBM_OPEN` yourself, for example 47 48 setx SBM_OPEN "powershell -NoProfile -Command Start-Process" 49 50 * `bm-title`, `bm-check`: need `curl`, which ships with Windows 10 1803 and 51 later, and with Git for Windows. 52 * `bm-import` of a Chromium JSON bookmark file needs `jq` 53 (`choco install jq`). 54 * `bm-commit` needs `git`, which is already a dependency. 55 56 ### What does not work on Windows 57 58 * **dmenu.** It is an X11 program. There is no dmenu here and none is 59 installed. Everything menu driven goes through fzf. 60 * `xclip`, `xsel`, `wl-clipboard`, `xdg-open`: X11 and Wayland programs, 61 replaced by the `SBM_COPY`, `SBM_PASTE` and `SBM_OPEN` settings above. 62 63 Bookmarks live in `%LOCALAPPDATA%` terms under the Git Bash HOME: 64 `~/.local/share/sbm/bookmarks`. Set `BOOKMARKS` to move it. 65 ]]></description> 66 <releaseNotes>https://github.com/equwal/sbm/commits/master</releaseNotes> 67 <dependencies> 68 <!-- git supplies sh.exe; fzf is the menu. --> 69 <dependency id="git" version="2.30.0" /> 70 <dependency id="fzf" version="0.30.0" /> 71 </dependencies> 72 </metadata> 73 <files> 74 <file src="tools\**" target="tools" /> 75 </files> 76 </package>