archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dejagnu / trunk / PKGBUILD
blob8964ae19159e05952be9525ca946620057ac0731
1 # Maintainer:
2 # Contributor:  BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Allan McRae <allan@archlinux.org>
5 pkgname=dejagnu
6 pkgver=1.6.3
7 pkgrel=2
8 pkgdesc='Framework for testing other programs'
9 arch=(any)
10 url='https://www.gnu.org/software/dejagnu/'
11 license=(GPL)
12 depends=(sh expect)
13 checkdepends=(tcl)
14 source=(https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz{,.sig})
15 sha256sums=('87daefacd7958b4a69f88c6856dbd1634261963c414079d0c371f589cd66a2e3'
16             'SKIP')
17 validpgpkeys=('152F3EADD335FF629611128567DADC3E3F743649'  # Ben Elliston
18               'D231B45ECB0B7BD8F6E7A682CE9D6843AABACC90') # Jacob Bachmeyer (2021 DejaGnu Release Signing Key)
20 build() {
21   mkdir -p build
22   cd build
23   ../$pkgname-$pkgver/configure --prefix=/usr
24   make
27 check() {
28   cd build
29   make check
32 package() {
33   cd build
34   make DESTDIR="$pkgdir" install