void-packages/srcpkgs/marco/template

36 lines
1,009 B
Bash

# Template file for 'marco'
pkgname=marco
version=1.20.3
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-startup-notification --disable-schemas-compile"
hostmakedepends="gdk-pixbuf-devel mate-common zenity"
makedepends="libXt-devel libcanberra-devel libgtop-devel
libnotify-devel mate-desktop-devel"
depends="zenity"
short_desc="A window manager for MATE"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=626817d148f93a81d3e0eb11c96cbb4a170536aa4b490aa68e5d47ea49a656a4
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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
}
}