# MystBin ! - PKGBUILD Your Name <8af98417fd3b2170f5ba04db9810331a> pkgname=lemoa-git pkgver() { cd "$pkgname" git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } pkgrel=1 pkgdesc="Native Gtk client for Lemmy" arch=(x86_64) url="https://github.com/lemmygtk/lemoa" license=('GPL3') depends=(gtk4) makedepends=(cargo rust git meson ninja) source=("git+${url}.git") noextract=() md5sums=(SKIP) build() { meson _build ninja -C _build } package() { ninja -C _build install --destdir "$pkgdir" }