aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rwxr-xr-xinstall.sh9
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index b95c6c2..2954598 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,9 @@
Automatically track new releases of media and download them. Currently works with rss for torrent sites (`nyaa.si`) and a for these manga sites: `manganelo.com`, `mangatown.com`, `mangakakalot.com`, `lhtranslation.net`, `mangawindow.net`, `mangaplus.shueisha.co.jp` and `mangadex.org`.
A notification is shown on the screen when a download finishes (if notify-send is installed).
+## Installation
+Run `sudo ./install.sh` to install AutoMedia, or first run `./release.sh` to build it yourself. If you are running Arch Linux, then you can find AutoMedia on aur under the name automedia-git (`yay -S automedia-git`).
+
AutoMedia checks and downloads updates every 15 minutes.
## Usage
Run automedia with `sync` option and keep it running to track media. You can then use `add` option to add new media to track.
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..d19a84b
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+script_dir=$(dirname "$0")
+cd "$script_dir"
+
+install -Dm755 "automedia" "$pkgdir/usr/bin/automedia"
+for file in plugins/*; do
+ install -Dm755 "$file" "$pkgdir/usr/share/automedia/$file"
+done