1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-07-01 05:47:46 +02:00
jfa-go/PKGBUILD

43 lines
890 B
Bash

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