# Template file for 'fragments' pkgname=fragments version=2.1 revision=2 build_style=meson build_helper="rust" hostmakedepends="desktop-file-utils cargo pkg-config gettext glib-devel gtk4-update-icon-cache" makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel openssl-devel rust-std" depends="transmission" short_desc="BitTorrent Client" maintainer="Michal Vasilek " license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/World/Fragments" distfiles="https://gitlab.gnome.org/World/Fragments/-/archive/$version/Fragments-$version.tar.gz" checksum=26e20d8cca8b7a2542b2d0e808d10dda082de52037dd8826ec6b00f0437f4564 post_patch() { if [ "$CROSS_BUILD" ]; then vsed -i src/meson.build \ -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%" fi }