void-packages/srcpkgs/gtkmm/template
2019-03-21 10:27:53 -03:00

25 lines
799 B
Bash

# Template file for 'gtkmm'
pkgname=gtkmm
version=3.24.1
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="automake libtool pkg-config mm-common"
makedepends="gtk+3-devel glibmm-devel atkmm-devel pangomm-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
license="LGPL-2.1-or-later"
homepage="https://gtkmm.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ddfe42ed2458a20a34de252854bcf4b52d3f0c671c045f56b42aa27c7542d2fd
gtkmm-devel_package() {
depends="${makedepends} gtkmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/g[dt]k*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}