52 lines
2.0 KiB
Bash
52 lines
2.0 KiB
Bash
# Template file for 'gucharmap'
|
|
pkgname=gucharmap
|
|
version=8.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)
|
|
--with-unicode-data=${XBPS_SRCDISTDIR}/${pkgname}-${version}"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils itstool glib-devel
|
|
desktop-file-utils appdata-tools unzip $(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
|
|
http://www.unicode.org/Public/8.0.0/ucd/Blocks.txt
|
|
http://www.unicode.org/Public/8.0.0/ucd/DerivedAge.txt
|
|
http://www.unicode.org/Public/8.0.0/ucd/NamesList.txt
|
|
http://www.unicode.org/Public/8.0.0/ucd/Scripts.txt
|
|
http://www.unicode.org/Public/8.0.0/ucd/UnicodeData.txt
|
|
http://www.unicode.org/Public/8.0.0/ucd/Unihan.zip"
|
|
skip_extraction="Blocks.txt DerivedAge.txt NamesList.txt Scripts.txt UnicodeData.txt Unihan.zip"
|
|
checksum="0a2afdc2ddcc0c3654b9b4ec46c5598195d046ba348c74dc225f92feff7ff640
|
|
288fc7b85c76bda296e296c8465f1f4baeb456cb814430dfaa0f546bfbe86b4a
|
|
302f6d6171dc9c6165db86d0226b7923a64cea06c493d339d35436bf137606a3
|
|
a5f051b65e7569999004b066fa8321244fe6f501c02b2b370e9a8e834cbf5ee7
|
|
79fbd73ad82c30fdb67d36a349d12667bd58d3e9da6a8ce7dd26383b637ba85f
|
|
38b17e1118206489a7e0ab5d29d7932212d38838df7d3ec025ecb58e8798ec20
|
|
e02affdd082ca9365f595e5dfa3295dc9e0bf7f6aed54455d99c0a9924b88115"
|
|
|
|
# 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"
|
|
}
|
|
}
|