void-packages/srcpkgs/citations/template

24 lines
848 B
Bash

# Template file for 'citations'
pkgname=citations
version=0.6.4
revision=1
build_style=meson
build_helper=rust
hostmakedepends="glib-devel gettext rust cargo pkg-config
gtk-update-icon-cache gtk4-update-icon-cache desktop-file-utils"
makedepends="libadwaita-devel gtk4-devel openssl-devel
rust-std poppler-glib-devel gtksourceview5-devel"
short_desc="Manage your bibliography using BibTeX format"
maintainer="Alex Childs <misuchiru03+github@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/citations"
distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
checksum=89626bdb78aa466926ba9be6b57bd24514bb6e0d2b9492f3c9f0705464371cb5
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
fi
}