void-packages/srcpkgs/marco/template

37 lines
1.0 KiB
Bash

# Template file for 'marco'
pkgname=marco
version=1.22.2
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 libXpresent-devel"
depends="zenity"
short_desc="Window manager for MATE"
maintainer="Orphaned <orphan@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=3e73894cb244cee673aa555edfa2818ff166b15a9feea0a610d2272148e88769
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
}
}