void-packages/srcpkgs/cinnamon-menus/template

32 lines
980 B
Bash

# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=4.0.0
revision=1
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="glib-devel gnome-common gobject-introspection intltool libtool
pkg-config"
makedepends="libglib-devel gobject-introspection"
short_desc="Cinnamon menu specifications"
maintainer="Juan RP <xtraeme@voidlinux.org>"
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=e42c642a6fcb3b8e53d6b8f389cca617c8988baaa6e85ac236b61edc38efc3a5
nocross="gobject-introspection"
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
vmove usr/share/gir-1.0
}
}