# Maintainer: Aanok pkgname='jftui' pkgver=0.2.2 pkgrel=1 pkgdesc="TUI client for Jellyfin based on mpv" arch=('x86_64') url="https://github.com/Aanok/jftui" license=('Unlicense') makedepends=('gcc' 'pkgconf' 'make') depends=('mpv' 'yajl' 'curl') provides=("${pkgname}") conflicts=('jftui-git') source=("https://github.com/Aanok/jftui/archive/v${pkgver}.tar.gz") sha256sums=('8cdc7e3917c58333461df1fe81703d7028e825244806bcbaaec79def93a534b5') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's/clang/gcc/' Makefile } build() { cd "${srcdir}/${pkgname}-${pkgver}" make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" install }