blob: 2d8a755bba19a8b80993836ad0607de1600f7bdc (
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
34
35
36
37
38
|
# Maintainer: Tony Finn <aur@tonyfinn.com>
pkgname=preserve-git
pkgver=0.5.2.r2.g46f085d
pkgrel=1
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',
)
provides=("preserve=${pkgver}")
conflicts=("preserve")
source=(git+https://gitlab.com/tonyfinn/preserve.git)
sha256sums=('SKIP')
prepare() {
cd "$srcdir/preserve"
make preserve-ui/node_modules
}
build() {
cd "$srcdir/preserve"
make dist
}
pkgver() {
cd "$srcdir/preserve"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/preserve"
make install DESTDIR=${pkgdir} prefix=/usr
}
|