void-packages/srcpkgs/ghex/template
2015-09-30 18:03:30 +02:00

33 lines
958 B
Bash

# Template file for 'ghex'
pkgname=ghex
version=3.18.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static"
hostmakedepends="pkg-config gtk-update-icon-cache intltool itstool"
makedepends="gtk+3-devel iso-codes"
depends="hicolor-icon-theme desktop-file-utils iso-codes"
short_desc="A simple binary editor for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/ghex/${version%.*}/ghex-$version.tar.xz"
checksum=c5b1eb50a8dd1334880b37617871498b778ea137f79bb43894ec68e4f63dc925
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
}
}