mash: fix cross build

This commit is contained in:
Alessio Sergi 2015-08-16 01:44:44 +02:00
parent 6375d24409
commit d62ed50a56

View file

@ -1,7 +1,7 @@
# Template file for 'mash'
pkgname=mash
version=0.2.0
revision=7
revision=8
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
@ -9,7 +9,7 @@ makedepends="clutter-devel"
depends="clutter>=1.18"
short_desc="A small library for using 3D models within a Clutter scene"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.clutter-project.org"
homepage="https://clutter-project.github.io/mash/"
license="LGPL-2.1"
distfiles="https://github.com/downloads/clutter-project/mash/mash-${version}.tar.xz"
checksum=fd4089e2974a1a57f9ba209a0a47924ed157da9fc9a3d65f68a6b9fdca353ccc
@ -26,7 +26,9 @@ mash-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove "usr/lib/*.so"
if [ -z "$CROSS_BUILD" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/lib/*.so
}
}