24 lines
848 B
Bash
24 lines
848 B
Bash
# Template file for 'citations'
|
|
pkgname=citations
|
|
version=0.7.0
|
|
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=5959b6cfe39e69f987a53c694950d5fa794ca6d5725ad9838f8ed04a2bab1b89
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|