void-packages/srcpkgs/gucharmap/template

45 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'gucharmap'
pkgname=gucharmap
2013-11-12 08:21:02 +00:00
version=3.10.1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool"
2013-09-26 14:23:29 +00:00
makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="GNOME Unicode Charmap"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-09-30 13:46:56 +00:00
homepage="http://www.gnome.org"
license="GPL-2"
2013-09-26 14:23:29 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2013-11-12 08:21:02 +00:00
checksum=04e8606c65adb14d267b50b1cf9eb4fee92bd9c5ab512a346bd4c9c686403f78
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
gucharmap-devel_package() {
2013-11-12 08:21:02 +00:00
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
2013-05-13 19:10:56 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
2013-09-26 14:23:29 +00:00
vmove "usr/lib/*.so"
}
}