From 29a79a1ce1b3d93faaab94b75a1092ab707b058e Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 19 Aug 2020 16:43:37 +0100 Subject: [PATCH] Moved PKGBUILD to AUR, mention in readme --- PKGBUILD | 42 ------------------------------------------ README.md | 8 ++++---- 2 files changed, 4 insertions(+), 46 deletions(-) delete mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 8572eee..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Harvey Tindall -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 -} diff --git a/README.md b/README.md index e0f5a37..1914e66 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,15 @@ I chose to rewrite the python [jellyfin-accounts](https://github.com/hrfee/jelly

#### 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 \