md5-2.3-1

This commit is contained in:
Jaroslav Lichtblau 2014-12-03 10:07:48 +01:00
parent a1d26d2c32
commit 39e7c581e4
3 changed files with 7 additions and 11 deletions

View file

@ -7,9 +7,7 @@ pkgbase = md5
arch = x86_64
license = custom
source = http://www.fourmilab.ch/md5/md5.tar.gz
source = COPYING
md5sums = c97245b84d45d6798f5f498f8a9a7c1e
md5sums = 7d811169878aefba828302d9a48f84de
pkgname = md5

View file

@ -1,2 +0,0 @@
(http://www.fourmilab.ch/md5/)
This software is in the public domain. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, without any conditions or restrictions. This software is provided "as is" without express or implied warranty.

View file

@ -7,10 +7,8 @@ pkgdesc="An md5 hash printing utility, that can have files or strings as input"
arch=('i686' 'x86_64')
url="http://www.fourmilab.ch/md5/"
license=('custom')
source=(http://www.fourmilab.ch/md5/$pkgname.tar.gz
COPYING)
md5sums=('c97245b84d45d6798f5f498f8a9a7c1e'
'7d811169878aefba828302d9a48f84de')
source=(http://www.fourmilab.ch/md5/$pkgname.tar.gz)
md5sums=('c97245b84d45d6798f5f498f8a9a7c1e')
build() {
cd "${srcdir}"
@ -20,7 +18,9 @@ build() {
package() {
cd "${srcdir}"
install -Dm755 "$pkgname" "${pkgdir}/usr/bin/$pkgname"
install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/$pkgname/COPYING"
install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
#license
install -d "${pkgdir}"/usr/share/licenses/${pkgname}/
sed '1,10p;d' main.c > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}