summaryrefslogtreecommitdiff
path: root/testing/py3-pygpgme/APKBUILD
blob: 5c34d834e742f19ed5541bf1c7613a92863918fe (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
# Maintainer: TBK <tbk@jjtc.eu>
# Contributor: TBK <tbk@jjtc.eu>
pkgname=py3-pygpgme
_pkgname=pygpgme
pkgver=0.3.1
pkgrel=0
pkgdesc="PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format."
url="https://launchpad.net/pygpgme"
arch="all"
license="LGPL2.1"
depends="python3 gpgme"
makedepends="python3-dev gpgme-dev"
subpackages=""
source="$_pkgname-${pkgver}.tar.gz::https://github.com/rshk/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f3c9de92956917f5e55c3a8d49be354d845e4f99b3a5173601841afcdd7b9ad270be0dea50468425c517328ceba46f1252685587bcf011287d1ed3a07b7ba8ab  pygpgme-0.3.1.tar.gz"