mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
37 lines
951 B
Bash
37 lines
951 B
Bash
pkgname=libgcrypt
|
|
pkgver=1.7.9
|
|
pkgrel=1
|
|
pkgdesc="a general purpose crypto library based on the code used"
|
|
arch=('x86_64')
|
|
url="http://www.gnupg.org"
|
|
license=('LGPL')
|
|
depends=('libgpg-error')
|
|
options=('!emptydirs')
|
|
# https://www.gnupg.org/download/integrity_check.html
|
|
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
|
# https://gnupg.org/download/integrity_check.html
|
|
sha1sums=('04126cdca54074d8768dea4287493a5b338a9a98'
|
|
'SKIP')
|
|
validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>"
|
|
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--disable-padlock-support
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|