1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

Moved PKGBUILD to AUR, mention in readme

This commit is contained in:
Harvey Tindall 2020-08-19 16:43:37 +01:00
parent 681d2ce38d
commit 29a79a1ce1
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 4 additions and 46 deletions

View File

@ -1,42 +0,0 @@
# Maintainer: Harvey Tindall <hrfee@protonmail.ch>
pkgname="jfa-go"
pkgver=0.1.4
pkgrel=1
pkgdesc="A web app for managing users on Jellyfin"
arch=("x86_64")
url="https://github.com/hrfee/jfa-go"
license=('MIT')
makedepends=('go>=1.14' 'python>=3.6.0-1' 'nodejs' 'npm')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("jfa-go::git+https://github.com/hrfee/jfa-go.git#tag=v$pkgver")
noextract=()
md5sums=(SKIP)
validpgpkeys=()
prepare() {
cd jfa-go
make configuration sass-headless mail-headless
}
build() {
cd jfa-go
make compile
}
package() {
cd jfa-go
make copy
install -d "$pkgdir"/opt
make install DESTDIR="$pkgdir"/opt
mkdir -p "$pkgdir"/usr/bin
ln -s "$pkgdir"/opt/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -32,15 +32,15 @@ I chose to rewrite the python [jellyfin-accounts](https://github.com/hrfee/jelly
</p>
#### Install
Grab an archive from the release section for your platform, and extract `jfa-go` and `data` to the same directory.
For linux users, you can place them inside `/opt/jfa-go` and then run
Available on the AUR as [jfa-go](https://aur.archlinux.org/packages/jfa-go/).
For other platforms, grab an archive from the release section for your platform, and extract `jfa-go` and `data` to the same directory.
* For linux users, you can place them inside `/opt/jfa-go` and then run
`sudo ln -s /opt/jfa-go/jfa-go /usr/bin/jfa-go` to place it in your PATH.
Run the executable to start.
A PKGBUILD is also provided for those using Arch Linux.
For [docker](https://hub.docker.com/repository/docker/hrfee/jfa-go), run:
```
docker create \