void-packages/srcpkgs/marco/template

37 lines
1007 B
Bash

# Template file for 'marco'
pkgname=marco
version=1.22.1
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="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=4e20f5ea006142f3e5c8931e2b354e1838cb9291ba245825ea82fa6611def7c8
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
}
}