void-packages/srcpkgs/ghex/template
2019-11-19 13:37:18 +01:00

32 lines
933 B
Bash

# Template file for 'ghex'
pkgname=ghex
version=3.18.4
revision=1
build_style=meson
hostmakedepends="pkg-config gtk-update-icon-cache intltool itstool glib-devel"
makedepends="gtk+3-devel iso-codes glib-devel"
depends="hicolor-icon-theme desktop-file-utils iso-codes"
short_desc="Simple binary editor for GNOME"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only, GFDL-1.1-only"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/ghex/${version%.*}/ghex-$version.tar.xz"
checksum=c2d9c191ff5bce836618779865bee4059db81a3a0dff38bda3cc7a9e729637c0
libgtkhex_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
ghex-devel_package() {
depends="gtk+3-devel libgtkhex>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
#vmove usr/share/gtk-doc
#vmove usr/share/ghex/gir-1.0
}
}