blob: 8d38464a78a5c0fcc8823173ad549b6ce0e13c0a (
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
|
# Maintainer: Aanok <aanok.aur@gmail.com>
pkgname='jftui-git'
pkgver=v0.1.2
pkgrel=3
pkgdesc="TUI client for Jellyfin based on mpv"
arch=('x86_64')
url="https://github.com/Aanok/jftui"
license=('Unlicense')
makedepends=('git' 'gcc' 'pkgconf' 'make')
depends=('mpv' 'yajl' 'curl')
provides=("${pkgname%-git}")
conflicts=('jftui')
source=('git+https://github.com/Aanok/jftui.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, unannotated tags
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
sed -i 's/clang/gcc/' Makefile
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|