archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libassuan / repos / core-x86_64 / PKGBUILD
blobaa3fa0b175c2176dade4491886bd376fd7eccfe8
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
5 pkgname=libassuan
6 pkgver=2.5.5
7 pkgrel=2
8 pkgdesc='IPC library used by some GnuPG related software'
9 arch=(x86_64)
10 url="https://www.gnupg.org/related_software/libassuan/"
11 license=(GPL3)
12 depends=(glibc libgpg-error sh)
13 provides=(libassuan.so)
14 source=(https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
15 sha512sums=('70117f77aa43bbbe0ed28da5ef23834c026780a74076a92ec775e30f851badb423e9a2cb9e8d142c94e4f6f8a794988c1b788fd4bd2271e562071adf0ab16403'
16             'SKIP')
17 b2sums=('24952e97c757b97c387ab4c2c4bf7b040f2874e9326c129805c7f5326fa14d80e083b0842e336a635531a2c8d4a66d428c816bae6b175f1c4518add1ffa3554d'
18         'SKIP')
19 validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # "Werner Koch (dist signing 2020)"
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr
24   make
27 check() {
28   make check -C $pkgname-$pkgver
31 package() {
32   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
33   install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README,ChangeLog} -t "$pkgdir/usr/share/doc/$pkgname/"