create README.md with POSIX shell

because I don't like doing things manually lmao
This commit is contained in:
Lilian Jónsdóttir 2023-11-07 17:37:41 -08:00
parent e559ceaa85
commit ebe2a9b914
6 changed files with 71 additions and 2 deletions

View file

@ -0,0 +1,6 @@
# void-packages
Void linux package templates I've created that probably wouldn't get accepted into the repos.
(DIY VUR?)

View file

@ -0,0 +1 @@
## Included packages

View file

@ -0,0 +1,2 @@
```

View file

@ -0,0 +1,3 @@
## Install
Run `install.sh` or do it manually like
```sh

View file

@ -4,9 +4,46 @@ Void linux package templates I've created that probably wouldn't get accepted in
(DIY VUR?)
## install
## Install
Run `install.sh` or do it manually like
```sh
for item in srcpkgs/*; do cp -r $item $HOME/void-packages/srcpkgs; done
for item in srcpkgs/*; do
cp -vr $item $HOME/void-packages/srcpkgs
done
```
## Included packages
- aspell-es - Spanish dictionary for aspell
- v1.11 - http://aspell.net/
- bore - Bore is a simple CLI tool for making tunnels to localhost
- v0.5.0 - https://github.com/ekzhang/bore
- doas-sudo-shim - Sudo shim for doas
- v0.1.1 - https://github.com/jirutka/doas-sudo-shim
- findex - Findex is an application finder written in Rust that uses GTK3
- v0.8.0 - https://github.com/mdgaziur/findex
- findex-cmd - Command runner plugin for findex, the application finder
- v0.1.0 - https://github.com/mdgaziur/findex
- findex-github-repo - Github repo plugin for findex, the application finder
- v0.1.0 - https://github.com/mdgaziur/findex
- findex-urlopen - URL open plugin for findex, the application finder
- v0.1.0 - https://github.com/mdgaziur/findex
- font-fantasque-sans-ttf-nerdfont - Handwriting-like programming typeface with Nerd Icons
- v3.0.2 - https://fontlibrary.org/en/font/fantasque-sans-mono
- gmid - Gemini server
- v1.8.6 - https://gmid.omarpolo.com
- gtkgreet - GTK based greeter for greetd
- v0.8 - https://git.sr.ht/~kennylevinsen/gtkgreet
- hunspell-es_MX - Spanish (México) dictionary for hunspell
- v2.8 - https://github.com/sbosio/rla-es
- hunspell-es_US - Spanish (Estados Unidos) dictionary for hunspell
- v2.8 - https://github.com/sbosio/rla-es
- lowfetch - Linux system information tool
- v23.11.05 - https://github.com/callyral/lowfetch
- macchina - System information frontend with an emphasis on performance
- v6.1.8 - https://github.com/Macchina-CLI/macchina
- pfetch-rs - System information tool written in rust
- v2.8.1 - https://github.com/Gobidev/pfetch-rs
- regreet - Clean and customizable greeter for greetd
- v0.1.1 - https://github.com/rharish101/ReGree
- wlgreet - Raw wayland greeter for greetd, to be run under sway or similar
- v0.4.1 - https://git.sr.ht/~kennylevinsen/wlgreet

20
update_readme.sh Normal file
View file

@ -0,0 +1,20 @@
#!/bin/sh
output=$PWD/README.md
pedazos=$PWD/.pedazos_de_readme
readme_header=$pedazos/HEADER.md
readme_install_pre=$pedazos/INSTALL_pre.md
readme_install_post=$pedazos/INSTALL_post.md
readme_included=$pedazos/INCLUDED.md
install_script=$PWD/install.sh
cat $readme_header >$output
cat $readme_install_pre >>$output
cat $install_script | tail -n +2 >>$output
cat $readme_install_post >>$output
cat $readme_included >>$output
for item in $PWD/srcpkgs/*; do
. $item/template
echo "- $pkgname - $short_desc" >>$output
echo "\t- v$version - $homepage" >>$output
done