void-packages/srcpkgs/cinnamon-menus/template
Jürgen Buchmüller 5d063bfcfd
cinnamon-menus: fix build (pre configure)
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-10-26 09:28:37 +02:00

32 lines
956 B
Bash

# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=3.8.2
revision=1
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="glib-devel gnome-common gobject-introspection intltool libtool
pkg-config"
makedepends="libglib-devel"
short_desc="Cinnamon menu specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=21de1b1b7367afcd7ccf9bc54633f495f30c26819da459de78b4a79fe4134725
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
cinnamon-menus-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
if [$CROSS_BUILD];then
vmove usr/share/gir-1.0
fi
}
}