Add README.md to Linux package (#11859)

This commit is contained in:
Martín Fernández
2024-05-20 18:12:54 +02:00
committed by GitHub
parent 59fb906921
commit 36d2e3cf74
3 changed files with 26 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ fi
mkdir -p tmp-debian/usr
chmod 0755 tmp-debian/usr
tar -xf "${1}" -C tmp-debian/usr
rm -f tmp-debian/usr/koreader.appdata.xml
rm -f tmp-debian/usr/koreader.appdata.xml tmp-debian/usr/README.md
ARCH="$(echo "${1}" | cut -d '-' -f3)"
VERSION="$(cut -f2 -dv "tmp-debian/usr/lib/koreader/git-rev" | cut -f1,2 -d-)"
DEB_ARCH="$(uname_to_debian "${ARCH}")"

View File

@@ -0,0 +1,17 @@
KOReader %%VERSION%% (Linux %%ARCH%%)
--------
## Requires
- `GLIBC` >= %%ABI%%
- `SDL2`
## Users
#### You shouldn't use this package unless you know what you're doing. Please use [AppImage](https://github.com/koreader/koreader/wiki/Installation-on-desktop-linux#what-is-an-appimage) instead.
## Package maintainers
The script in **`bin/`** expects the rest of the **assets** in **`../lib/koreader`**.
In any case the aforementioned script should jump to the **assets** dir and call **`./reader.lua`**.