summaryrefslogtreecommitdiff
path: root/community/hashcash
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/hashcash
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/hashcash')
-rw-r--r--community/hashcash/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/hashcash/PKGBUILD b/community/hashcash/PKGBUILD
new file mode 100644
index 000000000..d171ada31
--- /dev/null
+++ b/community/hashcash/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 65554 2012-02-21 08:54:32Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=hashcash
+pkgver=1.22
+pkgrel=3
+pkgdesc="a denial-of-service counter measure tool for email/spam."
+arch=('i686' 'x86_64')
+url="http://www.hashcash.org"
+license=('GPL')
+depends=( 'glibc' )
+source=(http://www.hashcash.org/source/${pkgname}-${pkgver}.tgz)
+md5sums=('31fae207061841dffc7b90ee18e3d0fa')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ if [ "${CARCH}" = "x86_64" ]; then
+ make generic-openssl
+ else
+ make x86-openssl
+ fi
+ install -Dm755 hashcash ${pkgdir}/usr/bin/hashcash
+ install -Dm755 sha1 ${pkgdir}/usr/bin/sha1
+ install -Dm755 hashcash.1 ${pkgdir}/usr/share/man/man1/hashcash.1
+}