summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1882a53cb29cf37d5fdfeee70dad87dfd09fb6c7 (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
# Maintainer: Jochen Saalfeld <jochen@intevation.de>
pkgname='gpgme-python-git'
pkgver=gpgme.1.9.0.r75.gbd5d470c
pkgrel=1
pkgdesc="A python wrapper library for GnuPG"
arch=('x86_64')
url="https://gnupg.org/software/gpgme/index.html"
license=('GPL2')
provides=('gpgme-python')
conflicts=()
makedepends=('gpgme>=1.9' 'swig' 'gnupg>=2' 'libgpg-error' )
source=("$pkgname::git+git://git.gnupg.org/gpgme.git" )
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd $pkgname
  ./autogen.sh
  ./configure --enable-languages=python
  make DESTDIR="${pkgdir}"
}

package() {
  cd $pkgname/lang/python
  make DESTDIR="${pkgdir}" install
}