23 lines
767 B
Bash
23 lines
767 B
Bash
# Template file for 'lemoa'
|
|
pkgname=lemoa
|
|
version=0.5.0
|
|
revision=1
|
|
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=bea2f72cfd873c1ed6647b44d188fef61cc22dd1fc52a1134e40d1471b099a2c
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|