# Maintainer: Julian Schmidhuber pkgname=tubefeeder-git pkgver=1.10.0.r0.7b19f44 pkgrel=1 pkgdesc="A Youtube, Lbry and Peertube client made for the Pinephone" arch=('x86_64' 'aarch64') url="https://www.tubefeeder.de" license=('GPL') groups=() depends=('libadwaita') optdepends=('mpv: Play the videos', 'youtube-dl: Play and download the videos') makedepends=('git' 'rust' 'meson') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") replaces=() backup=() options=() install= source=("$pkgname::git+https://github.com/Tubefeeder/Tubefeeder.git") noextract=() md5sums=('SKIP') pkgver() { cd "$srcdir/${pkgname}" printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" } build() { arch-meson $pkgname build meson compile -C build } package() { meson install -C build --destdir "$pkgdir" }