void-packages/srcpkgs/muffin/template

42 lines
1016 B
Plaintext

# Template file for 'muffin'
pkgname=muffin
version=1.1.2
revision=2
subpackages="libmuffin libmuffin-devel"
hostmakedepends="automake gettext-devel pkg-config intltool
gnome-doc-utils gobject-introspection"
makedepends="clutter-devel>=1.14 GConf-devel libcanberra-devel libXxf86vm-devel
startup-notification-devel gsettings-desktop-schemas-devel>=3.6.0"
depends="desktop-file-utils gsettings-desktop-schemas>=3.6.0"
fulldepends="zenity"
short_desc="The Cinnamon window manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://github.com/linuxmint/muffin.git"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/linuxmint/muffin.git"
msg_normal "Fetching source from $url ...\n"
git clone -b ${version} $url ${pkgname}-${version}
}
pre_configure() {
autoreconf -fi
}
do_configure() {
CFLAGS="$CFLAGS -Wno-error=switch" \
./configure ${CONFIGURE_SHARED_ARGS} --disable-static
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}