# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=md5ha1
pkgver=0_git20171202
pkgrel=0
pkgdesc="Tool for computing WWW-Digest MD5 HA1 string"
url="https://github.com/miconda/md5ha1"
arch="all"
license="MIT"
options="!check"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
disturl="dev.alpinelinux.org:/archive/$pkgname"
giturl="https://github.com/miconda/md5ha1.git"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -D -m755 $pkgname "$pkgdir"/usr/bin/$pkgname
}

sha512sums="826651cc75ab585b02c5ece3efcb4d15cfe390c93adf4a3fb1f8be405ff9b8629d42f9e208796ae913efb85f6a73b8fa30e468de8cdf4783bebbc1ab74818ebd  md5ha1-0_git20171202.tar.gz"
