37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'gucharmap'
|
|
pkgname=gucharmap
|
|
version=3.16.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils itstool glib-devel
|
|
desktop-file-utils appdata-tools $(vopt_if gir gobject-introspection)"
|
|
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@voidlinux.eu>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=0a3fa996ae271c8f4812a7d8dc573ece0c000d63185b4865fa99387455e1b13d
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
gucharmap-devel_package() {
|
|
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
|
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
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|