void-packages/srcpkgs/gucharmap/template

44 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'gucharmap'
pkgname=gucharmap
2014-05-17 10:43:25 +02:00
version=3.12.1
2014-03-27 17:32:32 +01:00
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
2014-05-01 09:44:34 +02:00
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool glib-devel desktop-file-utils"
2013-09-26 16:23:29 +02: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 15:46:56 +02:00
homepage="http://www.gnome.org"
license="GPL-2"
2013-09-26 16:23:29 +02:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2014-05-17 10:43:25 +02:00
checksum=5e260767da43f6dc31a8be33ca363da56781349b367464fa9c478bca66aa18d9
# Package build options
build_options="gir"
# 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 09:21:02 +01:00
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
2013-05-13 21:10:56 +02: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 16:23:29 +02:00
vmove "usr/lib/*.so"
}
}