archrelease: copy trunk to staging-x86_64
[arch-packages.git] / libksba / repos / core-x86_64 / PKGBUILD
blobcd78d7a391524ec9072f4081b3aa1a78958bc426
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
4 pkgname=libksba
5 pkgver=1.6.3
6 pkgrel=1
7 pkgdesc='Library for working with X.509 certificates, CMS data and related objects'
8 url='https://www.gnupg.org/related_software/libksba/'
9 license=('GPL')
10 arch=('x86_64')
11 depends=('bash' 'libgpg-error' 'glibc')
12 source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
13 sha256sums=('3f72c68db30971ebbf14367527719423f0a4d5f8103fc9f4a1c01a9fa440de5c'
14             'SKIP')
15 validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'  # Werner Koch
16               '6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
18 build() {
19         cd "${srcdir}/${pkgname}-${pkgver}"
20         ./configure --prefix=/usr
21         make
24 check() {
25         cd "${srcdir}/${pkgname}-${pkgver}"
26         make check
27 }  
29 package() {
30         cd "${srcdir}/${pkgname}-${pkgver}"
31         make DESTDIR="${pkgdir}" install