void-packages/srcpkgs/gnome-recipes/template

31 lines
1.0 KiB
Bash

# Template file for 'gnome-recipes'
pkgname=gnome-recipes
version=1.4.4
revision=1
_libgd_hash=97a852cdf3d37776f9c98f730d7dcbbe995bdeb7
hostmakedepends="glib intltool itstool pkg-config meson git"
makedepends="gtk+3-devel gnome-autoar-devel gspell-devel libcanberra-devel
libsoup-devel"
short_desc="GNOME puzzle game where you locate mines in the ocean"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/Apps/Recipes"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b8e3bcee39b85437a68039ddb35f6f54cfb3ed7ab2a6320bb74dad4846f186e6
nocross=https://build.voidlinux.eu/builders/armv7l-musl_builder/builds/2155/steps/shell_3/logs/stdio
do_configure() {
# meson_post_install.py updates icon cache, desktop database etc.
# nothing that we need. It fails in this setup, so make it a nop
ln -sf /bin/true meson_post_install.py
meson --prefix=/usr --buildtype=plain build
}
do_build() {
ninja -C build
}
do_install() {
DESTDIR="$DESTDIR" ninja -C build install
}