jobcore/libtasn1/PKGBUILD

41 lines
1.2 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=libtasn1
pkgver=4.19.0
pkgrel=01
pkgdesc="The ASN.1 library used in GNUTLS"
arch=('x86_64')
url="https://www.gnu.org/software/libtasn1/"
depends=('glibc')
source=(https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
CODE_COVERAGE_LDFLAGS=${LDFLAGS} make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
make -C doc/reference DESTDIR="${pkgdir}" install-data-local
}
#---- license gpg-key sha256sums ----
license=('GPL3' 'LGPL')
validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # "Simon Josefsson <simon@josefsson.org>"
sha256sums=(1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a # libtasn1-4.19.0.tar.gz
8410c0c004f3509c218a98b276b3308b9c46f48068e8b1a6d9ebfd61ea9f357a) # libtasn1-4.19.0.tar.gz.sig