47 lines
1.3 KiB
Bash
47 lines
1.3 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"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libgpg-error
|
|
pkgver=1.44
|
|
pkgrel=01
|
|
pkgdesc="Support library for libgcrypt"
|
|
arch=(x86_64)
|
|
url="https://www.gnupg.org"
|
|
depends=('glibc' 'sh')
|
|
makedepends=('autoconf' 'automake' 'gettext')
|
|
source=(https://www.gnupg.org/ftp/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
|
# https://www.gnupg.org/download/integrity_check.html
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('LGPL')
|
|
|
|
validpgpkeys=(6DAA6E64A76D2840571B4902528897B826403ADA # Werner Koch (dist signing 2020)
|
|
031EC2536E580D8EA286A9F22071B08A33BD3F06) # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
|
|
|
sha256sums=(8e3d2da7a8b9a104dd8e9212ebe8e0daf86aa838cc1314ba6bc4de8f2d8a1ff9 # libgpg-error-1.44.tar.bz2
|
|
dd807f159c7acb0ee46dacf940ded43689d6259aad00ad57b4322bdffede890c) # libgpg-error-1.44.tar.bz2.sig
|