#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=libtasn1 pkgver=4.19.0 pkgrel=02 pkgdesc="The ASN.1 library used in GNUTLS" 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 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('GPL-3.0-or-later' 'LGPL-2.1-or-later' 'GFDL-1.3-or-later') validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # "Simon Josefsson " sha256sums=(1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a # libtasn1-4.19.0.tar.gz 8410c0c004f3509c218a98b276b3308b9c46f48068e8b1a6d9ebfd61ea9f357a) # libtasn1-4.19.0.tar.gz.sig ## 53f00ae3bced23496db131f80ee35c507300e39c1391494794913990695307c3 libtasn1-4.19.0-02-x86_64.pkg.tar.lz