summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 301a816a84743e0bc5619a2885df3f1628e4f32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Tony Finn <aur@tonyfinn.com>

pkgname=preserve
pkgver=0.5.1
pkgrel=2
pkgdesc="Efficiency oriented media player/jellyfin frontend"
arch=(any)
url="https://gitlab.com/tonyfinn/preserve"
license=(GPL)
makedepends=(git jq npm)
optdepends=(
    'caddy: systemd unit',
    'nginx: web server config provided',
)
conflicts=('preserve-git')
source=("preserve-${pkgver}::git+https://gitlab.com/tonyfinn/preserve.git?signed#tag=v${pkgver}")
sha256sums=("SKIP")
validpgpkeys=("E31879C464DF3ED9532A50BA381C260255E413FD")

prepare() {
    cd "$srcdir/preserve-${pkgver}"
    make preserve-ui/node_modules
}

build() {
    cd "$srcdir/preserve-${pkgver}"
    make dist
}

package() {
    cd "$srcdir/preserve-${pkgver}"
    make install DESTDIR=${pkgdir} prefix=/usr
}