PKGBUILD 848 Bytes
Newer Older
1 2 3 4 5
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
Jan Mette's avatar
Jan Mette committed
6 7

pkgname=ed
8
pkgver=1.5
9
pkgrel=2
Jan Mette's avatar
Jan Mette committed
10 11 12 13 14 15
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')
16
depends=('glibc' 'sh')
Jan Mette's avatar
Jan Mette committed
17 18
options=('!emptydirs')
source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz)
19
md5sums=('e66c03d7e4c67b025d5b6093ec678267')
Jan Mette's avatar
Jan Mette committed
20 21 22 23 24

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info
  make || return 1
25 26 27 28
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
Jan Mette's avatar
Jan Mette committed
29 30 31 32 33
  make DESTDIR=${pkgdir} install || return 1

  cd ${pkgdir}/usr/share/info
  ln ed.info red.info
}