2021-12-04 02:20:56 +00:00
|
|
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable distcc, breaks meson finding miniupnpc
|
|
|
|
|
|
|
|
pkgname=fragments
|
2023-07-16 14:47:31 +00:00
|
|
|
pkgver=2.1.1
|
2023-01-14 12:09:05 +00:00
|
|
|
pkgrel=1
|
2022-02-12 23:55:25 +00:00
|
|
|
pkgdesc='BitTorrent client for GNOME'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://gitlab.gnome.org/World/Fragments'
|
|
|
|
license=('GPL3')
|
2021-12-04 02:20:56 +00:00
|
|
|
options=(!distcc)
|
2022-02-12 23:55:25 +00:00
|
|
|
depends=('libadwaita' 'transmission-cli')
|
|
|
|
makedepends=('git' 'meson' 'rust')
|
2023-07-16 14:47:31 +00:00
|
|
|
_commit=dc622bfc78735190e5bbfa47dfd9c5a363ca48fe
|
2022-02-12 23:55:25 +00:00
|
|
|
source=("git+https://gitlab.gnome.org/World/Fragments.git#commit=$_commit")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
options=(!lto)
|
2021-12-04 02:20:56 +00:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd Fragments
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
arch-meson Fragments build
|
|
|
|
meson compile -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
meson test -C build --print-errorlogs
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-07-16 14:47:31 +00:00
|
|
|
meson install -C build --destdir "$pkgdir"
|
2021-12-04 02:20:56 +00:00
|
|
|
}
|