void-packages/srcpkgs/marco/template

38 lines
1.1 KiB
Bash

# Template file for 'marco'
pkgname=marco
version=1.10.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-gtk=2.0 --enable-startup-notification --disable-schemas-compile"
hostmakedepends="libtool pkg-config intltool itstool glib-devel gdk-pixbuf-devel zenity"
makedepends="gtk+-devel libnotify-devel libgtop-devel libSM-devel
libXt-devel libXcomposite-devel mate-desktop-devel libcanberra-devel
startup-notification-devel"
depends="zenity"
short_desc="A window manager for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8b61fc42a86a8a3a626b05d0e3435f4f47a5843bd0647b9fd4a9c5ab1239bc8a
pre_configure() {
libtoolize -f
}
libmarco_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libmarco-devel_package() {
short_desc+=" - development files"
depends="libmarco>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}