void-packages/srcpkgs/cinnamon-menus/template

32 lines
901 B
Bash

# Template file for 'cinnamon-menus'
pkgname=cinnamon-menus
version=3.6.0
revision=1
short_desc="Cinnamon menu specifications"
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="automake libtool gnome-common pkg-config intltool gobject-introspection glib-devel"
makedepends="libglib-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=ac005b0b46fb6285f82b2f80683c7d5cdd719cb7548a4dc3e36f0cd717e38d00
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
}
}