[arch-commits] Commit in hashcash/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Feb 17 18:01:59 UTC 2017
Date: Friday, February 17, 2017 @ 18:01:58
Author: spupykin
Revision: 212954
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hashcash/repos/community-staging-i686/
hashcash/repos/community-staging-i686/PKGBUILD
(from rev 212953, hashcash/trunk/PKGBUILD)
hashcash/repos/community-staging-x86_64/
hashcash/repos/community-staging-x86_64/PKGBUILD
(from rev 212953, hashcash/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: hashcash/repos/community-staging-i686/PKGBUILD (from rev 212953, hashcash/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-17 18:01:58 UTC (rev 212954)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=hashcash
+pkgver=1.22
+pkgrel=5
+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 LIBCRYPTO=-lcrypto
+ else
+ make x86-openssl LIBCRYPTO=-lcrypto
+ fi
+}
+
+package() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+ 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
+}
Copied: hashcash/repos/community-staging-x86_64/PKGBUILD (from rev 212953, hashcash/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-02-17 18:01:58 UTC (rev 212954)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=hashcash
+pkgver=1.22
+pkgrel=5
+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 LIBCRYPTO=-lcrypto
+ else
+ make x86-openssl LIBCRYPTO=-lcrypto
+ fi
+}
+
+package() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+ 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
+}
More information about the arch-commits
mailing list