23 lines
767 B
Bash
23 lines
767 B
Bash
# Template file for 'lemoa'
|
|
pkgname=lemoa
|
|
version=0.3.0
|
|
revision=2
|
|
build_style=meson
|
|
build_helper=rust
|
|
hostmakedepends="pkg-config cargo desktop-file-utils glib-devel gtk-update-icon-cache"
|
|
makedepends="rust-std gtk4-devel libglib-devel libadwaita-devel"
|
|
short_desc="Gtk client for Lemmy"
|
|
maintainer="Bnyro <bnyro@tutanota.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/lemmygtk/lemoa"
|
|
changelog="https://github.com/lemmygtk/lemoa/releases"
|
|
distfiles="https://github.com/lemmygtk/lemoa/releases/download/v${version}/lemoa-${version}.tar.xz"
|
|
checksum=cc3665dd42faf90d1b394fc4c7b67ae0baff5b6379d6082c61bdf3c868fd84cd
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|