void-packages/srcpkgs/glibmm/template
2019-08-19 10:27:57 +02:00

34 lines
878 B
Bash

# Template file for 'glibmm'
pkgname=glibmm
version=2.60.0
revision=1
build_style=gnu-configure
hostmakedepends="glib-devel perl pkg-config"
makedepends="libglib-devel libsigc++-devel"
short_desc="C++ bindings for GLib"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.gtkmm.org"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-${version}.tar.xz"
checksum=a3a1b1c9805479a16c0018acd84b3bfff23a122aee9e3c5013bb81231aeef2bc
glibmm-doc_package() {
archs=noarch
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
vmove usr/share/devhelp
}
}
glibmm-devel_package() {
depends="${makedepends} glibmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/glibmm-2.4
vmove usr/lib/giomm-2.4
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}