mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
766 B
Bash
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.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"
|
|
}
|