25 lines
813 B
Bash
25 lines
813 B
Bash
# Template file for 'fragments'
|
|
pkgname=fragments
|
|
version=3.0.0
|
|
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=63a209801b97637afc106a114ce9ef68d8faa7a19a145e18debcfc9919f34ff9
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|