mash: fix deprecated GitHub /downloads/ distfile

This commit is contained in:
meator 2024-09-23 11:21:13 +02:00 committed by classabbyamp
parent 5360cceaa9
commit 630c8ea50a
1 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,8 @@ version=0.2.0
revision=9
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
configure_args="--disable-static $(vopt_enable gir introspection)
--enable-gtk-doc"
hostmakedepends="automake glib-devel intltool libtool pkg-config
$(vopt_if gir gobject-introspection) gtk-doc"
makedepends="clutter-devel"
@ -13,8 +14,9 @@ short_desc="Small library for using 3D models within a Clutter scene"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://clutter-project.github.io/mash/"
distfiles="https://github.com/downloads/clutter-project/mash/mash-${version}.tar.xz"
checksum=fd4089e2974a1a57f9ba209a0a47924ed157da9fc9a3d65f68a6b9fdca353ccc
distfiles="https://github.com/clutter-project/mash/archive/refs/tags/${version}.tar.gz"
checksum=a5f91f0828c3c63a845800443ab347417cb34882db3b6672b42f6d68355ddab8
nocross="Build system executes what it builds"
build_options="gir"
build_options_default="gir"
@ -30,9 +32,7 @@ mash-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ -z "$CROSS_BUILD" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gir-1.0
vmove usr/lib/*.so
}
}