summaryrefslogtreecommitdiff
path: root/pcr/monkeysphere/PKGBUILD
blob: 48f55dbfde11f6e7886df6699e237e59949031e6 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Based on monkeysphere-git from
# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
# $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $
pkgname=monkeysphere
pkgver=0.37
pkgrel=1
pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
arch=('any')
url="http://web.monkeysphere.info/"
license=('GPL3')
depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1')
checkdepends=('socat' 'openssh' 'cpio')
source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
        binmerge.patch)
install=monkeysphere.install

prepare() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -Ni "${srcdir}/binmerge.patch"
}

# Checks fail
check() {
  cd "$srcdir/$pkgname-$pkgver"

  make test || true
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
  mkdir -p $pkgdir/var/lib/monkeysphere
}
sha1sums=('c4f950346040f7703cb4c6e8b32022f4361d0c9d'
          '780c2e203980558316b0714c4b2a3ad49be3ea27')
sha256sums=('6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7'
            'e49a1097296b06090010ce5344588f5e4917aeb06a118de920fc58411d2a7cf7')
sha1sums=('1fab51ae4c1a19d8bbc358db8e2ce7df337cc93e'
          '780c2e203980558316b0714c4b2a3ad49be3ea27')
sha256sums=('b510b8a414fb400356e80f1f882488785df72ac54078410b54d4c50a84686e59'
            'e49a1097296b06090010ce5344588f5e4917aeb06a118de920fc58411d2a7cf7')