# Maintainer: Balló György # ALARM: Kevin Mihelich # - disable distcc, breaks meson finding miniupnpc pkgname=fragments pkgver=3.0.0 pkgrel=1 pkgdesc='BitTorrent client for GNOME' arch=('x86_64') url='https://gitlab.gnome.org/World/Fragments' license=('GPL3') options=(!distcc) depends=('libadwaita' 'transmission-cli') makedepends=('git' 'meson' 'rust') source=("git+https://gitlab.gnome.org/World/Fragments.git#tag=$pkgver") sha256sums=('07d5b4c614efd87dcaf6752ec6ba3595e660a99311e8245d445b222b90bc67c7') options=(!lto) build() { arch-meson Fragments build meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" }