forked from marko/svitak
40 lines
661 B
Markdown
40 lines
661 B
Markdown
# Svitak 📖
|
|
|
|
*A minimal EPUB parser and reader written in Haskell.*
|
|
|
|
## Installation
|
|
|
|
**System prerequisites**:
|
|
|
|
- **GHC ≥ 9.10**
|
|
- GTK / WebKit system libraries (required by `gi-gtk` and `gi-webkit`)
|
|
|
|
### Dependencies
|
|
|
|
#### Arch:
|
|
```
|
|
sudo pacman -S \
|
|
ghc cabal-install \
|
|
gtk4 \
|
|
webkitgtk-6.0 \
|
|
gobject-introspection \
|
|
pkgconf
|
|
```
|
|
|
|
> *Feel free to make a pull request for instructions regarding your OS/distro*
|
|
|
|
### Clone the repo
|
|
|
|
```
|
|
git clone "https://git.ajattix.org/castelia/svitak.git" && cd svitak
|
|
```
|
|
### Building
|
|
*Update the package index (optional but recommended):*
|
|
```
|
|
cabal update
|
|
```
|
|
*Proceed with building:*
|
|
```
|
|
cabal build
|
|
```
|
|
---
|