mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
22 lines
711 B
Bash
22 lines
711 B
Bash
# Template file for 'gnome-robots'
|
|
pkgname=gnome-robots
|
|
version=41.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=rust
|
|
hostmakedepends="gettext glib-devel itstool pkg-config cargo
|
|
gtk4-update-icon-cache desktop-file-utils"
|
|
makedepends="libadwaita-devel librsvg-devel rust-std"
|
|
short_desc="GNOME classic robots game"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/Apps/Robots"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=9121c2f836812043feef2ba661cd5d0fd48e3d6319c43941b9fdd158b9b0eb91
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
|
fi
|
|
}
|