PKGBUILDs/core/ed/PKGBUILD

27 lines
656 B
Bash
Raw Normal View History

2009-11-01 04:38:08 +00:00
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
2009-10-10 02:17:35 +00:00
pkgname=ed
pkgver=1.4
pkgrel=1
pkgdesc="A POSIX-compliant line editor"
2009-11-01 04:38:08 +00:00
arch=(i686 x86_64 arm)
2009-10-10 02:17:35 +00:00
license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
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
}