34 lines
876 B
Bash
34 lines
876 B
Bash
# Template file for 'glibmm'
|
|
pkgname=glibmm
|
|
version=2.58.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="glib-devel perl pkg-config"
|
|
makedepends="libglib-devel libsigc++-devel"
|
|
short_desc="C++ bindings for GLib"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.gtkmm.org"
|
|
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-${version}.tar.xz"
|
|
checksum=6e5fe03bdf1e220eeffd543e017fd2fb15bcec9235f0ffd50674aff9362a85f0
|
|
|
|
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"
|
|
}
|
|
}
|