# $Id: PKGBUILD 90096 2010-09-07 19:14:19Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=ed pkgver=1.5 pkgrel=1 pkgdesc="A POSIX-compliant line editor" arch=('i686' 'x86_64') license=('GPL') url="http://www.gnu.org/software/ed/ed.html" install=ed.install depends=('glibc' 'sh') options=('!emptydirs') source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz) md5sums=('e66c03d7e4c67b025d5b6093ec678267') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info make || return 1 } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install || return 1 cd ${pkgdir}/usr/share/info ln ed.info red.info }