jobcore/libksba/PKGBUILD
2024-06-24 11:19:15 +03:00

44 lines
1.4 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=libksba
pkgver=1.6.7
pkgrel=01
pkgdesc='Library for working with X.509 certificates, CMS data and related objects'
url='https://www.gnupg.org/related_software/libksba/'
depends=('bash' 'libgpg-error' 'glibc')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL-2.0-only' 'GPL-3.0-only' 'LGPL-3.0-only')
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch
'6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
sha256sums=(cf72510b8ebb4eb6693eef765749d83677a03c79291a311040a5bfd79baab763 # libksba-1.6.7.tar.bz2
62fc338c5122c352138427156dc9fb242d8e2efafe6aa1c41b955682c35d8343) # libksba-1.6.7.tar.bz2.sig
## f866122881a9824d1cdf15a9188ac39390d3843e4462a520ffd0e45392c67047 libksba-1.6.7-01-x86_64.pkg.tar.lz