jobcore/libassuan/PKGBUILD

51 lines
1.8 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libassuan
pkgver=3.0.0
pkgrel=01
pkgdesc='IPC library used by some GnuPG related software'
url="https://www.gnupg.org/related_software/libassuan/"
depends=('glibc' 'libgpg-error')
provides=('libassuan.so')
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
make check -C $pkgname-$pkgver
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -vDm 644 {AUTHORS,NEWS,README,ChangeLog} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=( FSFULLR GPL-2.0-or-later LGPL-2.1-or-later)
validpgpkeys=(6DAA6E64A76D2840571B4902528897B826403ADA # "Werner Koch (dist signing 2020)"
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD) # "Niibe Yutaka (GnuPG Release Key)"
sha512sums=('7c5c95c1b85bef2d4890c068a5a8ea8a1fe0d8def6ab09e5f34fc2746d8808bbb0fc168e3bd66d52ee5ed799dcf9f258f4125cda98c8384f6411bcad8d8b3139'
'SKIP')
b2sums=('c86f7d62413c6f7a228deb47abe0388790a7c0e3c89b5ee7a7a72f72bea6502d5cbe199b10f06efc885af6fefab358dbe0e61a6f798493dcfcc63df0cfacdb55'
'SKIP')
sha256sums=(0b160cbb898b852c6c04314b9a63e90ca87501305ad72a58a010f808665bbaf6 # libassuan-3.0.0.tar.bz2
66bfa3f1520d8f29ce730221eb42ff3e4eeecc40290f6748a61cc44fe12540a4) # libassuan-3.0.0.tar.bz2.sig
## 838303b4247f8ffd301b6bb42b50b77dcba27197648043145b42d678ac11d959 libassuan-3.0.0-01-x86_64.pkg.tar.lz