void-packages/srcpkgs/ghex/template

34 lines
958 B
Bash
Raw Normal View History

2014-03-29 00:40:48 +01:00
# Template file for 'ghex'
pkgname=ghex
2016-06-13 23:31:16 +02:00
version=3.18.2
2015-09-30 18:03:30 +02:00
revision=1
2014-03-29 00:40:48 +01:00
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static"
hostmakedepends="pkg-config gtk-update-icon-cache intltool itstool"
2015-09-30 18:03:30 +02:00
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>"
2014-03-29 00:40:48 +01:00
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/ghex/${version%.*}/ghex-$version.tar.xz"
2016-06-13 23:31:16 +02:00
checksum=ebd341c49e2cc4e710230703cd20e9febb29b64e34a1b5396d6aa818936e55bf
2014-03-29 00:40:48 +01:00
libgtkhex_package() {
short_desc+=" - runtime library"
2014-03-29 00:40:48 +01:00
pkg_install() {
vmove usr/lib/*.so.*
}
}
ghex-devel_package() {
depends="gtk+3-devel libgtkhex>=${version}_${revision}"
2014-03-29 00:40:48 +01:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
2014-03-29 00:40:48 +01:00
#vmove usr/share/gtk-doc
#vmove usr/share/ghex/gir-1.0
}
}