jobcore/libassuan/PKGBUILD

46 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libassuan
pkgver=2.5.7
pkgrel=02
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)"
sha256sums=(0103081ffc27838a2e50479153ca105e873d3d65d8a9593282e9c94c7e6afb76 # libassuan-2.5.7.tar.bz2
9ae0864efc87aa49b46b8f0da3837508267ab97cac611b0bf3c4673d947ef022) # libassuan-2.5.7.tar.bz2.sig
## d16170d78a19f4c41026ab3880823989da99f1b50fd1dc8d88ab2d25789d331c libassuan-2.5.7-02-x86_64.pkg.tar.lz