#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=dejagnu
pkgver=1.6.3
pkgrel=05
pkgdesc='Framework for testing other programs'
arch=(any)
url='https://www.gnu.org/software/dejagnu/'
depends=(sh expect)
checkdepends=(tcl)
source=(https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz{,.sig})

build() {
  mkdir -p build
  cd build
  ../$pkgname-$pkgver/configure --prefix=/usr
  make
}
 
check() {
  cd build
  make check
}
 
package() {
  cd build
  make DESTDIR="$pkgdir" install
}

#---- license gpg-key sha256sums ----

license=(GPL)

validpgpkeys=('152F3EADD335FF629611128567DADC3E3F743649'  # Ben Elliston
              'D231B45ECB0B7BD8F6E7A682CE9D6843AABACC90') # Jacob Bachmeyer (2021 DejaGnu Release Signing Key)

sha256sums=(87daefacd7958b4a69f88c6856dbd1634261963c414079d0c371f589cd66a2e3 # dejagnu-1.6.3.tar.gz
	a3b76186ee99b65f46f30b8973a93e33175efa2cc07090858d48d67f678f3288) # dejagnu-1.6.3.tar.gz.sig
 

##  be1d7494bec4ca80044e2dc666cf7a159576b3786dd2facf8bebdbda711821b9  dejagnu-1.6.3-05-any.pkg.tar.lz


