5 pkgdesc="Edit all sorts of files viewing them in an hexadecimal manner"
7 url='http://gna.org/projects/heraia/'
9 depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
10 makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils' 'libgnomeui' 'libgnomeprintui')
12 install=heraia.install
13 source=(http://download.gna.org/$pkgname/releases/$pkgname-$pkgver.tar.gz http://ftp.gnome.org/pub/GNOME/sources/ghex/2.24/ghex-${_ghexver}.tar.bz2)
14 sha256sums=('4b008b99c54571569f5c7f2cfa105818e63da64289df7406010c67c15ae59137' 'df0e1a01472a99b9e94236ab1200108e10829d99c030f8422288323448762e2e')
17 cd "${srcdir}/ghex-${_ghexver}"
19 ./configure --prefix="${srcdir}/ghex-${_ghexver}/gtkhex" --sysconfdir="${srcdir}/ghex-${_ghexver}/etc" \
20 --localstatedir="${srcdir}/ghex-${_ghexver}/var" --disable-static \
21 --disable-schemas-compile
27 cd "${srcdir}/${pkgname}-${pkgver}"
29 PKG_CONFIG_PATH="../ghex-${_ghexver}/" ./configure --prefix=/usr --disable-static
31 sed -i 's/gtkhex\/gtkhex.h/gtkhex.h/g' libheraia/include/libheraia.h
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install
39 cp "${srcdir}/ghex-${_ghexver}/gtkhex/lib/libgtkhex.so.0" "${pkgdir}/usr/lib/heraia/"