25 lines
813 B
Bash
25 lines
813 B
Bash
# Template file for 'fragments'
|
|
pkgname=fragments
|
|
version=3.0.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="rust"
|
|
hostmakedepends="desktop-file-utils cargo pkg-config gettext glib-devel
|
|
gtk4-update-icon-cache git"
|
|
makedepends="sqlite-devel gtk4-devel libadwaita-devel libglib-devel dbus-devel
|
|
openssl-devel rust-std"
|
|
depends="transmission"
|
|
short_desc="BitTorrent Client"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
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=33b9b68a85450288e930fcbcf1af0fcf3f630e3493f5e8784f05f4e32620703f
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|