# $Id: PKGBUILD 47762 2009-07-26 18:57:16Z andyrtr $ # Maintainer: Andreas Radke pkgname=ed pkgver=1.4 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 groups=('base-devel') depends=('glibc') options=('!emptydirs') source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz) md5sums=('da0ddc0e0b0bec2da4b13b0d0d1bce2b') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info make || return 1 make DESTDIR=${pkgdir} install || return 1 cd ${pkgdir}/usr/share/info ln ed.info red.info rm ${pkgdir}/usr/share/info/dir }