summaryrefslogtreecommitdiff
path: root/extra/expect/PKGBUILD
blob: a9771cc1667fea1fcdec0942dcc8c90a22269ade (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: PKGBUILD 173839 2012-12-25 00:34:18Z foutrelis $
# Maintainer: Allan McRae <allan@archlinux.org>

pkgname=expect
pkgver=5.45
pkgrel=3
pkgdesc="A tool for automating interactive applications"
arch=('i686' 'x86_64' 'mips64el')
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
}