From 84ec87ffe3436fa893d0d291eb2f4878ec975237 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Wed, 16 Aug 2023 16:45:53 -0400 Subject: Update installation docs --- .gitmodules | 6 ------ README.md | 32 ++++---------------------------- 2 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 03adb24..0000000 --- a/.gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule "vendor/hare-xml"] - path = vendor/hare-xml - url = https://git.sr.ht/~sircmpwn/hare-xml -[submodule "vendor/hare-vt"] - path = vendor/hare-vt - url = https://git.sr.ht/~stonks3141/hare-vt diff --git a/README.md b/README.md index 20a13e9..8b5412e 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,12 @@ # srtplay -Play .srt subtitle files in a TUI. +Play .srt subtitle files in a terminal. ## Installation -Install [hare](https://harelang.org), [scdoc](https://git.sr.ht/~sircmpwn/scdoc), -and optionally [haredo](https://sr.ht/~autumnull/haredo). - -### With haredo - -```sh -git clone https://git.sr.ht/~stonks3141/srtplay -cd srtplay -git submodule update --init - -haredo -sudo haredo install -``` - -### Without haredo - -```sh -git clone https://git.sr.ht/~stonks3141/srtplay -cd srtplay -git submodule update --init - -hare build . -scdoc < srtplay.1.scd > srtplay.1 - -install -Dm755 ./srtplay /usr/local/bin/srtplay -install -Dm644 ./srtplay.1 /usr/local/share/man/man1/srtplay.1 -``` +1. Install [scdoc](https://git.sr.ht/~sircmpwn/scdoc) +2. `make` +3. `make install` ## Usage -- cgit v1.2.3