PKGBUILDs/core/ed/PKGBUILD

27 lines
644 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=ed
pkgver=1.4
pkgrel=1
pkgdesc="A POSIX-compliant line editor"
2009-10-10 03:26:30 +00:00
arch=('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
}