mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 10:32:15 +08:00
34 lines
848 B
Bash
34 lines
848 B
Bash
#
|
|
# 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>
|
|
|
|
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
|
|
groups=('base-devel')
|
|
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
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
cd ${pkgdir}/usr/share/info
|
|
ln ed.info red.info
|
|
}
|