1 # Maintainer: Robert Ransom <rransom.8774@gmail.com>
5 pkgdesc="Generate MD5 collisions"
7 url="http://www.stachliu.com/index.php/resources/tools/"
10 source=("http://mirror.roe.ch/dist/$pkgname/$pkgver/$pkgname.c")
11 noextract=($pkgname.c)
13 #md5sums=('1c5d6641d6d07d8a7b510d44d5b4da04')
14 sha1sums=('fdef49debfdc07a2c2bccac33d4164ad57d7b341')
15 sha256sums=('ce00158446d946f0333baec9f38470f3670d46c1086d3d71b28ddee5313c5542')
16 sha384sums=('a6551eb568c470258697293438573deb73b3a9a5e3426a5a9eba0e185ef8cdfd2c8aa3e243255e8eee588c007b336339')
17 sha512sums=('7329550fadd9e6bf453fbb6cb407c61097b088022a5287ea11868eda182510cd4b704750de559439d8444bdf70b7c12f36d7909f633868ca890aa257dbe25bea')
19 # This PKGBUILD is based on /usr/ports/security/md5coll/* from the
20 # FreeBSD ports collection.
22 # The original web site for this tool seems to have disappeared; the
23 # source URL above points to a mirror set up by the FreeBSD port
24 # maintainer (daniel@roe.ch).
27 cd "$srcdir" || return 1
29 cc -o $pkgname $pkgname.c || return 1
33 cd "$srcdir" || return 1
35 install -d "$pkgdir/usr/bin" || return 1
36 install $pkgname "$pkgdir/usr/bin/$pkgname" || return 1