aboutsummaryrefslogtreecommitdiffstats
path: root/testing/md5ha1/APKBUILD
blob: d18cb2ec3aea2f1192ee8336d7e43dd8ba793d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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="https://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"