# Compiling Time: 0.04 SBU
# Maintainer: Slown <slown@frugalware.org>

pkgname=rhash
pkgver=1.4.5
pkgrel=1
pkgdesc="Utility for verifying hash sums (SFV, CRC, etc). Supports lots of algorithms."
depends=('glibc')
groups=('apps-extra')
archs=('x86_64')
_F_github_tag_v=y
Finclude github
sha1sums=('2c93b40cedabb05814d02f0ac43f67be266aab5b')
_F_cd_path="RHash-$pkgver"
_F_conf_notry="enable-static"

build() {
	Fbuild --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS"
	Fexec make -C librhash DESTDIR="$Fdestdir" install-lib-headers install-lib-shared install-so-link || Fdie
}

# optimization OK
