summaryrefslogtreecommitdiff
path: root/core/ed/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/ed/PKGBUILD')
-rw-r--r--core/ed/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/core/ed/PKGBUILD b/core/ed/PKGBUILD
new file mode 100644
index 000000000..a644e33fa
--- /dev/null
+++ b/core/ed/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 108145 2011-01-30 11:04:13Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=ed
+pkgver=1.5
+pkgrel=2
+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 \
+ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ cd ${pkgdir}/usr/share/info
+ ln ed.info red.info
+}