PKGBUILDs/extra/fragments/PKGBUILD
2024-06-09 01:15:43 +00:00

31 lines
766 B
Bash

# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable distcc, breaks meson finding miniupnpc
pkgname=fragments
pkgver=3.0.1
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=('5f11d5481b08de3ecb364c24095dd167843f8acc649bc539692ed08d96f20113')
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"
}