summaryrefslogtreecommitdiffstats
path: root/abs/core/expect/PKGBUILD
blob: 5e9b909a71df61ed2c2c41e4668b11aefcda2b54 (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
# $Id$
# Maintainer: Allan McRae <allan@archlinux.org>

pkgname=expect
pkgver=5.45
pkgrel=4
pkgdesc="A tool for automating interactive applications"
arch=('i686' 'x86_64')
url="http://www.nist.gov/el/msid/expect.cfm"
license=('custom')
depends=('tcl')
source=(http://downloads.sourceforge.net/project/expect/Expect/${pkgver}/expect${pkgver}.tar.gz)
md5sums=('44e1a4f4c877e9ddc5a542dfa7ecc92b')

build() {
  cd ${srcdir}/expect${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man 
  make
}

package() {
  cd ${srcdir}/expect${pkgver}
  make DESTDIR=${pkgdir} install

  install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README
}