# $Id: PKGBUILD 180087 2013-03-16 12:44:18Z tpowa $ # Maintainer: Tobias Powalowski # Contributor: Roman Kyrylych # Contributor: Sarah Hay pkgname=gpgme pkgver=1.3.2 pkgrel=1 pkgdesc="A C wrapper library for GnuPG" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnupg.org/related_software/gpgme/" license=('GPL') depends=('libgpg-error' 'pth' 'gnupg>=2') install=${pkgname}.install options=('!libtool' '!emptydirs') source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) md5sums=('326fe97077141713f0930aa87949a287' '4849bea218571c5ab6094d77049bd5d7') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --disable-static make } check() { cd ${srcdir}/${pkgname}-${pkgver} make check } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }