summaryrefslogtreecommitdiffstats
path: root/dejagnu/PKGBUILD
blob: 1c793a5a6a3ed424d9b1605298ca39b2bfb01b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Flavio S. Truzzi (pirunga@gmail.com)
pkgname=dejagnu
pkgver=1.4.4
pkgrel=2
pkgdesc="GNU framework for testing other programs."
url="https://www.gnu.org/software/dejagnu/"
license=('GPL')
arch=('i686' 'x86_64')
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
noextract=()
source=(http://ftp.gnu.org/gnu/dejagnu/$pkgname-$pkgver.tar.gz)
md5sums=(053f18fd5d00873de365413cab17a666)

build() {
  cd $startdir/src/$pkgname-$pkgver

  ./configure --prefix=/usr

  make || return 1
  make DESTDIR=$startdir/pkg install

  find $startdir/pkg -name "*.la" -exec rm -f '{}' \;
}