jobcore/libgpg-error/PKGBUILD

60 lines
2 KiB
Bash
Raw 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>
2022-03-20 13:19:37 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libgpg-error
pkgver=1.49
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=(8b79d54639dbf4abc08b5406fb2f37e669a2dec091dd024fb87dd367131c63a9 # libgpg-error-1.49.tar.bz2
741dffea302c4d63cac90a03f14c8b74ac21bb0073c74aafd62ca2e4f7dd10d4) # libgpg-error-1.49.tar.bz2.sig
## 4f2e7101efd6e4fa484fbadfbb6127d11963c5e216f3d2b17eec1c6120a2846e libgpg-error-1.49-01-x86_64.pkg.tar.lz
2022-06-10 00:04:16 +02:00