jobcore/libassuan/PKGBUILD.new-pushed-by-arch-dev-mistake

53 lines
1.9 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"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
READ THIS: https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/YVW3HARXDAP7J6YKIVQR52WLNSK55YRH/
pkgname=libassuan
pkgver=3.0.1
pkgrel=01
pkgdesc='IPC library used by some GnuPG related software'
url="https://www.gnupg.org/related_software/libassuan/"
depends=('glibc' 'libgpg-error')
provides=('libassuan.so')
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
make check -C $pkgname-$pkgver
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -vDm 644 {AUTHORS,NEWS,README,ChangeLog} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=( FSFULLR GPL-2.0-or-later LGPL-2.1-or-later)
validpgpkeys=(6DAA6E64A76D2840571B4902528897B826403ADA # "Werner Koch (dist signing 2020)"
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD) # "Niibe Yutaka (GnuPG Release Key)"
sha512sums=('6914a02c20053bae0fc4c29c5c40655f1cec711983d57fa85e46df34e90b10e33d31256dd50ae7c7faa8d8d750a529bf9072da0cda3bdd77ebfedbc0e26e5e16'
'SKIP')
b2sums=('5d6a7e4e9ce1b196bc7d126786716d95896de6145b8d753e2289bd36cbc96efa216360ac127fadb7be2d577e7fa203c8c8695d4aa11afcca6ed5397dd40209cb'
'SKIP')
sha256sums=(c8f0f42e6103dea4b1a6a483cb556654e97302c7465308f58363778f95f194b1 # libassuan-3.0.1.tar.bz2
ba06e8d074afa4b06f30429691101dbafde374315c42f6921b4ddd4a06822a7f) # libassuan-3.0.1.tar.bz2.sig
## 58babcff26574059d41b4fb010df4b885e9d83d07aa69ac45c479f39de1fc5c8 libassuan-3.0.1-01-x86_64.pkg.tar.lz