summaryrefslogtreecommitdiff
path: root/pcr/monkeysign/PKGBUILD
blob: 360d8a4a83a8cf2751b2e175e258f3148206d590 (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
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: max-k
pkgname=monkeysign
pkgver=1.1
pkgrel=1
pkgdesc="OpenPGP Key Exchange for Humans"
arch=('any')
url="http://web.monkeysphere.info/monkeysign/"
license=('GPL3')
depends=('python2-qrencode-pillow' 'gtk2' 'pygtk' 'zbar')
makedepends=('python2-setuptools' 'python2-docutils')
source=(http://cdn.debian.net/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver}.tar.gz)
# http://cdn.debian.net/debian/pool/main/m/monkeysign/monkeysign_1.1.dsc
sha1sums=('b236849aa84487608e5cb747d1abb12325433279')
sha256sums=('1229c63c9b649b35a156ab69c7e8ef47ff03817c94ce8138107832117ee5fa6d')

build() {
    cd "${pkgname}-${pkgver}"
    sed -i 's/rst2s5/rst2s52/' monkeysign/documentation.py
    python2 setup.py build
}

package() {
    cd "${pkgname}-${pkgver}"
    python2 setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
}