void-packages/srcpkgs/muffin/template

43 lines
1.4 KiB
Bash

# Template file for 'muffin'
pkgname=muffin
version=5.2.0
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --disable-schemas-compile --disable-gtk-doc
--enable-compile-warnings=minimum ac_cv_path_ZENITY=/usr/bin/zenity"
hostmakedepends="automake gdk-pixbuf-devel gettext-devel glib-devel
gobject-introspection gtk-doc intltool libtool pkg-config"
makedepends="cinnamon-desktop-devel libSM-devel libinput-devel
libcanberra-devel startup-notification-devel libXtst-devel json-glib-devel"
depends="zenity"
short_desc="Cinnamon window manager based on Mutter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://github.com/linuxmint/muffin"
distfiles="https://github.com/linuxmint/muffin/archive/${version}.tar.gz"
checksum=8366569f27a62913dade9935e0688b3636ca11b8ee00a061c9fdcbb6b27f3e2f
shlib_provides="libmuffin-clutter-0.so libmuffin-cogl-pango-0.so
libmuffin-cogl-path-0.so libmuffin-cogl-0.so"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vmkdir usr/share/gir-1.0
mv ${DESTDIR}/usr/lib/muffin/*.gir ${DESTDIR}/usr/share/gir-1.0
vmkdir usr/lib/girepository-1.0
mv ${DESTDIR}/usr/lib/muffin/*.typelib ${DESTDIR}/usr/lib/girepository-1.0
}
muffin-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
}
}