jobcore/ding-libs/PKGBUILD
2022-03-20 14:19:37 +02:00

56 lines
1.8 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=ding-libs
pkgver=0.6.1
pkgrel=04
pkgdesc="'D is not GLib' utility libraries"
arch=('x86_64')
url="https://pagure.io/SSSD/ding-libs/"
depends=('glibc')
makedepends=('doxygen')
checkdepends=('check')
source=(https://releases.pagure.org/SSSD//$pkgname/$pkgname-$pkgver.tar.gz{,.asc}
ding-libs-0.6.1-ini_validators_ut_check-glibc-2.28.patch)
prepare() {
cd $pkgname-$pkgver
# fix a test; FS#60089
patch -Np1 -i ../ding-libs-0.6.1-ini_validators_ut_check-glibc-2.28.patch
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make all docs
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}
#---- license gpg-key sha256sums ----
license=('GPL3' 'LGPL3')
validpgpkeys=('7B54CAE8A03D66F3D70A5B516F5A90EB44FBC7C7' # "Pavel Reichl <preichl@redhat.com>"
'E4E366758CA0716AAB8048671EC6AB7532E7BC25' # "Jakub Hrozek <jhrozek@redhat.com>"
'16F24229488E736048952737BA88000FE6398272') # "Michal Židek (rh_work) <mzidek@redhat.com>"
sha1sums=('dab4c855b065bd728021437af81ae726c31c5272'
'SKIP'
'78ef3f3fcb25a9a98fcd82353d20b89000aee21a')
sha256sums=(a319a327deb81f2dfab9ce4a4926e80e1dac5dcfc89f4c7e548cec2645af27c1 # ding-libs-0.6.1.tar.gz
c27c99513e614576c5b25a4e1ee4d75558e809015c2ac690337389b82faf347a # ding-libs-0.6.1.tar.gz.asc
f4ca269bfdad407cd661e9dac900400e16fce2bbc130cf63cda763ad9c0642c1) # ding-libs-0.6.1-ini_validators_ut_check-glibc-2.28.patch