jobcore/libgpg-error/PKGBUILD

59 lines
2 KiB
Bash
Raw Permalink Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
2024-08-22 17:58:58 +02:00
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libgpg-error
pkgver=1.50
2023-04-10 23:04:40 +02:00
pkgrel=01
2022-03-20 13:19:37 +01:00
pkgdesc="Support library for libgcrypt"
url="https://www.gnupg.org"
depends=('glibc' 'sh')
makedepends=('autoconf' 'automake' 'gettext')
#options=('debug') ##### uncomment this line to have the debug pkg produced
2022-03-20 13:19:37 +01:00
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}
install -vDm 644 COPYING{,.LIB} -t "${pkgdir}"/usr/share/licenses/${pkgname}/
2022-03-20 13:19:37 +01:00
make DESTDIR="${pkgdir}/" install
}
2023-04-10 23:04:40 +02:00
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
license=(LGPL-2.1-or-later 'BSD-3-Clause OR LGPL-2.1-or-later' FSFULLR GPL-2.0-or-later)
2022-03-20 13:19:37 +01:00
2022-06-10 00:04:16 +02:00
#validpgpkeys=(D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 # Werner Koch
2023-04-10 23:04:40 +02:00
# AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
# 031EC2536E580D8EA286A9F22071B08A33BD3F06 # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
2022-06-10 00:04:16 +02:00
# 6DAA6E64A76D2840571B4902528897B826403ADA) # "Werner Koch (dist signing 2020)"
validpgpkeys=(6DAA6E64A76D2840571B4902528897B826403ADA # Werner Koch (dist signing 2020)
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD) # Niibe Yutaka (GnuPG Release Key)
2022-03-20 13:19:37 +01:00
sha256sums=(69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a # libgpg-error-1.50.tar.bz2
c104c05017acb47f8dfe19d0dd10d7c6c738d025a08151346de523063bb9cc4b) # libgpg-error-1.50.tar.bz2.sig
2022-06-10 00:04:16 +02:00
## 482f8a54b302002ebfa8e36d418d02871deea798ef44026afc2a0c27dd3e5978 libgpg-error-1.50-01-x86_64.pkg.tar.lz